[ https://issues.apache.org/jira/browse/HIVE-28001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhihua Deng updated HIVE-28001: ------------------------------- Description: 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. was: 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/] > 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 > > 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)