accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmil...@apache.org
Subject [1/3] accumulo git commit: ACCUMULO-4602 Improved Test to stop quick fails
Date Mon, 17 Jul 2017 13:54:33 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master 2415f22be -> 87e5780d7


ACCUMULO-4602 Improved Test to stop quick fails


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/f81a4b12
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/f81a4b12
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/f81a4b12

Branch: refs/heads/master
Commit: f81a4b12b022ef0f78f5ec06a18d7a97b992f676
Parents: 2415f22
Author: Mike Miller <mmiller@apache.org>
Authored: Mon Jul 10 17:03:41 2017 -0400
Committer: Mike Miller <mmiller@apache.org>
Committed: Mon Jul 10 17:03:41 2017 -0400

----------------------------------------------------------------------
 .../accumulo/minicluster/impl/MiniAccumuloClusterImplTest.java   | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/f81a4b12/minicluster/src/test/java/org/apache/accumulo/minicluster/impl/MiniAccumuloClusterImplTest.java
----------------------------------------------------------------------
diff --git a/minicluster/src/test/java/org/apache/accumulo/minicluster/impl/MiniAccumuloClusterImplTest.java
b/minicluster/src/test/java/org/apache/accumulo/minicluster/impl/MiniAccumuloClusterImplTest.java
index 696c44e..b1f3d0e 100644
--- a/minicluster/src/test/java/org/apache/accumulo/minicluster/impl/MiniAccumuloClusterImplTest.java
+++ b/minicluster/src/test/java/org/apache/accumulo/minicluster/impl/MiniAccumuloClusterImplTest.java
@@ -102,6 +102,10 @@ public class MiniAccumuloClusterImplTest {
     MasterMonitorInfo stats;
     while (true) {
       stats = accumulo.getMasterMonitorInfo();
+      if (stats.tableMap.size() <= 2) {
+        continue;
+      }
+
       if (null != stats.tServerInfo && stats.tServerInfo.size() == NUM_TSERVERS)
{
         break;
       }


Mime
View raw message