Andrey Stepachev created HBASE-13176:
----------------------------------------
Summary: Flakey TestZooKeeper test.
Key: HBASE-13176
URL: https://issues.apache.org/jira/browse/HBASE-13176
Project: HBase
Issue Type: Bug
Affects Versions: 2.0.0
Reporter: Andrey Stepachev
Assignee: Andrey Stepachev
Test fails with wrong number of listeners:
{code}
Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 202.248 sec
<<< FAILURE! - in org.apache.hadoop.hbase.TestZooKeeper
testRegionAssignmentAfterMasterRecoveryDueToZKExpiry(org.apache.hadoop.hbase.TestZooKeeper)
Time elapsed: 48.687 sec <<< FAILURE!
java.lang.AssertionError: expected:<16> but was:<15>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:555)
at org.junit.Assert.assertEquals(Assert.java:542)
at
org.apache.hadoop.hbase.TestZooKeeper.testRegionAssignmentAfterMasterRecoveryDueToZKExpiry(TestZooKeeper.java:518)
{code}
Seems to be the problem with race of how fast
org.apache.hadoop.hbase.coordination.ZkSplitLogWorkerCoordination is registered
iteself as a listener.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)