[ https://issues.apache.org/jira/browse/BIGTOP-678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418955#comment-13418955 ]
Wing Yew Poon commented on BIGTOP-678: -------------------------------------- Bruno, sure, I was about to upload a new patch with your suggestion to Integer.getInteger(String property, int default) when you closed this. I think it is overkill to make 1000 a constant since it is used just once. > make hive TestJdbcDriver more robust > ------------------------------------ > > Key: BIGTOP-678 > URL: https://issues.apache.org/jira/browse/BIGTOP-678 > Project: Bigtop > Issue Type: Improvement > Components: Tests > Affects Versions: 0.3.0, 0.4.0 > Reporter: Wing Yew Poon > Assignee: Wing Yew Poon > Fix For: 0.5.0 > > Attachments: BIGTOP-678.txt > > > I plan to attach a patch to make TestJdbcDriver more robust, by > parameterizing the wait time for the hive server to be up (it is currently > hardcoded to 1 second, which may not be long enough) and by introducing a > timeout to the test method (in my experience, if for some reason hive is not > up or otherwise able to respond successfully, the test hangs). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira