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

Zhihua Deng resolved HIVE-28001.
--------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Fix has been merged. Thank you for the review [~hemanth619]!

> Fix the flaky test TestLeaderElection
> -------------------------------------
>
>                 Key: HIVE-28001
>                 URL: https://issues.apache.org/jira/browse/HIVE-28001
>             Project: Hive
>          Issue Type: Test
>            Reporter: Zhihua Deng
>            Assignee: Zhihua Deng
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> The TestLeaderElection is failing sometimes, example:
> [http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/master/2032/tests]
> [http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4995/3/tests]
> [http://ci.hive.apache.org/job/hive-flaky-check/796/]
> They are failed because of:
> java.lang.AssertionError
>      at 
> org.apache.hadoop.hive.metastore.leader.TestLeaderElection.testLeaseLeaderElection(TestLeaderElection.java:121)
> {code:java}
> assertFalse(lockId1 == instance1.getLockId()); {code}
> Lock remains the same, however it's supposed to be changed after a new leader 
> is elected.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to