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

Peter Varga commented on HIVE-23242:
------------------------------------

[~pvary] could you check patch 2? I introduced a way for MetastoreUtils to wait 
until the background threads are scheduled. This is not 100% bulletproof for 
every use case, because it is only waits until the threads are scheduled, does 
not wait for the initial delays, but for this testsuite I set the delays to 1 
ms. This way the test does not have guess how much  to sleep.

> Fix flaky tests testHouseKeepingThreadExistence in 
> TestMetastoreHousekeepingLeaderEmptyConfig and TestMetastoreHousekeepingLeader
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-23242
>                 URL: https://issues.apache.org/jira/browse/HIVE-23242
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>            Reporter: Miklos Gergely
>            Assignee: Peter Varga
>            Priority: Major
>         Attachments: HIVE-23242.1.patch, HIVE-23242.2.patch
>
>
> Tests were ignored, see https://issues.apache.org/jira/browse/HIVE-23221 for 
> details.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to