[ https://issues.apache.org/jira/browse/HIVE-6908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13969025#comment-13969025 ]
Ashutosh Chauhan commented on HIVE-6908: ---------------------------------------- Doesn't this mean test is poorly written if it is relying on timing of operations ? May be test can be rewritten in a different way so it doesnt rely on timeouts. > TestThriftBinaryCLIService.testExecuteStatementAsync has intermittent failures > ------------------------------------------------------------------------------ > > Key: HIVE-6908 > URL: https://issues.apache.org/jira/browse/HIVE-6908 > Project: Hive > Issue Type: Bug > Components: Tests > Affects Versions: 0.13.0 > Reporter: Szehon Ho > Assignee: Szehon Ho > Attachments: HIVE-6908.patch > > > This has failed sometimes in the pre-commit tests. > ThriftCLIServiceTest.testExecuteStatementAsync runs two statements. They are > given 100 second timeout total, not sure if its by intention. As the first > is a select query, it will take a majority of the time. The second statement > (create table) should be quicker, but it fails sometimes because timeout is > already mostly used up. > The timeout should probably be reset after the first statement. If the > operation finishes before the timeout, it wont have any effect as it'll break > out. -- This message was sent by Atlassian JIRA (v6.2#6252)