Repository: hbase Updated Branches: refs/heads/branch-1.3 e6b222b2d -> 8dccc83ef
HBASE-19546 TestMasterReplication.testCyclicReplication2 uses wrong assertion Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/8dccc83e Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/8dccc83e Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/8dccc83e Branch: refs/heads/branch-1.3 Commit: 8dccc83efb2b0dacfcb632b85868188a9ba3352e Parents: e6b222b Author: zhangduo <[email protected]> Authored: Mon Dec 18 16:56:43 2017 +0800 Committer: zhangduo <[email protected]> Committed: Mon Dec 18 19:59:52 2017 +0800 ---------------------------------------------------------------------- .../hadoop/hbase/replication/TestMasterReplication.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/8dccc83e/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestMasterReplication.java ---------------------------------------------------------------------- diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestMasterReplication.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestMasterReplication.java index cf29186..f4c2838 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestMasterReplication.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestMasterReplication.java @@ -1,4 +1,4 @@ -/* +/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -22,6 +22,8 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.fail; +import com.google.protobuf.ServiceException; + import java.io.Closeable; import java.io.IOException; import java.util.Arrays; @@ -79,8 +81,6 @@ import org.junit.Before; import org.junit.Test; import org.junit.experimental.categories.Category; -import com.google.protobuf.ServiceException; - @Category(LargeTests.class) public class TestMasterReplication { @@ -274,7 +274,7 @@ public class TestMasterReplication { */ @Test(timeout = 300000) public void testCyclicReplication2() throws Exception { - LOG.info("testCyclicReplication1"); + LOG.info("testCyclicReplication2"); int numClusters = 3; Table[] htables = null; try { @@ -313,7 +313,7 @@ public class TestMasterReplication { // without HBASE-9158 the edit for row4 would have been marked with // cluster 0's id // and hence not replicated to cluster 0 - wait(row4, htables[0], true); + wait(row4, htables[0], false); } finally { close(htables); shutDownMiniClusters();
