[ 
https://issues.apache.org/jira/browse/HIVE-19971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16526452#comment-16526452
 ] 

Andrew Sherman commented on HIVE-19971:
---------------------------------------

Thanks [~kgyrtkirk] and [~pvary] for the review and push!

> TestRuntimeStats.testCleanup() is flaky
> ---------------------------------------
>
>                 Key: HIVE-19971
>                 URL: https://issues.apache.org/jira/browse/HIVE-19971
>             Project: Hive
>          Issue Type: Task
>            Reporter: Andrew Sherman
>            Assignee: Andrew Sherman
>            Priority: Major
>             Fix For: 4.0.0
>
>         Attachments: HIVE-19971.1.patch, HIVE-19971.2.patch, 
> HIVE-19971.3.patch, HIVE-19971.4.patch
>
>
> This test is timing dependent and sometimes fails. [You can see that it 
> sometimes fails in otherwise clean 
> runs|https://issues.apache.org/jira/issues/?jql=text%20~%20%22TestRuntimeStats%22].
>   The test inserts a stat, sleeps for 2 seconds, inserts another stat, then 
> deletes stats that are older than 1 second. The test asserts that exactly one 
> stat is deleted. If the deletion is slow for some reason (perhaps a GC?) then 
> 2 stats will be deleted and the test will fail. The trouble is that the 1 
> second window is too small to work consistently.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to