You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2020/12/16 18:36:44 UTC
[hbase] branch branch-2.4 updated: HBASE-25400 [Flakey Tests]
branch-2 TestRegionMoveAndAbandon
This is an automated email from the ASF dual-hosted git repository.
stack pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.4 by this push:
new 5eefe62 HBASE-25400 [Flakey Tests] branch-2 TestRegionMoveAndAbandon
5eefe62 is described below
commit 5eefe62e29b520c7d7122fe3d958804fd6efa33b
Author: stack <st...@apache.org>
AuthorDate: Tue Dec 15 21:02:45 2020 -0800
HBASE-25400 [Flakey Tests] branch-2 TestRegionMoveAndAbandon
---
.../hadoop/hbase/master/assignment/TestRegionMoveAndAbandon.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/assignment/TestRegionMoveAndAbandon.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/assignment/TestRegionMoveAndAbandon.java
index ce5727d..da972ea 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/assignment/TestRegionMoveAndAbandon.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/assignment/TestRegionMoveAndAbandon.java
@@ -102,8 +102,9 @@ public class TestRegionMoveAndAbandon {
LOG.info("Killing RS {}", rs1.getServerName());
// Stop RS1
cluster.killRegionServer(rs1.getServerName());
+ UTIL.waitFor(30_000, () -> rs1.isStopped() && !rs1.isAlive());
// Region should get moved to RS2
- UTIL.waitTableAvailable(TableName.NAMESPACE_TABLE_NAME, 30_000);
+ UTIL.waitTableAvailable(TableName.NAMESPACE_TABLE_NAME, 60_000);
// Restart the master
LOG.info("Killing master {}", cluster.getMaster().getServerName());
cluster.killMaster(cluster.getMaster().getServerName());