[ https://issues.apache.org/jira/browse/HBASE-16669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Hsieh updated HBASE-16669: ----------------------------------- Attachment: hbase-16669.v1.patch The old version slept for a second and assumed that the merge operation completed. This update waits until the future resolves or fails with a timeout. Ran this 10x and it passed locally. > fix flaky TestAdmin#testmergeRegions > ------------------------------------ > > Key: HBASE-16669 > URL: https://issues.apache.org/jira/browse/HBASE-16669 > Project: HBase > Issue Type: Bug > Components: test > Affects Versions: 2.0.0 > Reporter: Jonathan Hsieh > Fix For: 2.0.0 > > Attachments: hbase-16669.v1.patch > > > Recent test runs show that this test is failing with these error messages: > {code} > java.lang.AssertionError: expected:<2> but was:<3> > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.failNotEquals(Assert.java:834) > at org.junit.Assert.assertEquals(Assert.java:645) > at org.junit.Assert.assertEquals(Assert.java:631) > at > org.apache.hadoop.hbase.client.TestAdmin1.testMergeRegions(TestAdmin1.java:1385) > {code} > or > {code} > java.lang.AssertionError: expected:<1> but was:<2> > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.failNotEquals(Assert.java:834) > at org.junit.Assert.assertEquals(Assert.java:645) > at org.junit.Assert.assertEquals(Assert.java:631) > at > org.apache.hadoop.hbase.client.TestAdmin1.testMergeRegions(TestAdmin1.java:1394) > {code} > looking at the code this indicates that merge operation did not complete or > didn't work. -- This message was sent by Atlassian JIRA (v6.3.4#6332)