[ 
https://issues.apache.org/jira/browse/HIVE-23242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Varga updated HIVE-23242:
-------------------------------
    Status: Patch Available  (was: Open)

The problem was with the timing of the tests.
The metastore threads were starting with 7 sec delay and the test was waiting 
for 10 sec before checking. But the metastore threads are starting 
asynchronously, and it seems the startup time sometimes was getting slower. In 
the attached log the missing thread scheduled after 5 second, and would start 
at 12 second, so the check was running before.

Modified the threads to start only with 2 sec delay. 

> 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
>
>
> 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