hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-14702 TestZKProcedureControllers.testZKCoordinatorControllerWithSingleMemberCohort is a flakey
Date Tue, 27 Oct 2015 05:35:58 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 1128c855a -> 50b546528


HBASE-14702 TestZKProcedureControllers.testZKCoordinatorControllerWithSingleMemberCohort is
a flakey


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

Branch: refs/heads/branch-1
Commit: 50b546528454e22075255e147828a31d20b560fe
Parents: 1128c85
Author: stack <stack@apache.org>
Authored: Mon Oct 26 22:35:22 2015 -0700
Committer: stack <stack@apache.org>
Committed: Mon Oct 26 22:35:50 2015 -0700

----------------------------------------------------------------------
 .../apache/hadoop/hbase/procedure/TestZKProcedureControllers.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/50b54652/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/TestZKProcedureControllers.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/TestZKProcedureControllers.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/TestZKProcedureControllers.java
index 8dfc77c..49d0ca1 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/TestZKProcedureControllers.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/TestZKProcedureControllers.java
@@ -361,7 +361,8 @@ public class TestZKProcedureControllers {
       String operationName, byte[] data) {
 //    verify(member, Mockito.times(cohortSize)).submitSubprocedure(Mockito.eq(operationName),
 //      (byte[]) Mockito.argThat(new ArrayEquals(data)));
-    verify(member, Mockito.times(cohortSize)).submitSubprocedure(Mockito.any(Subprocedure.class));
+    Mockito.verify(member,
+      Mockito.atLeast(cohortSize)).submitSubprocedure(Mockito.any(Subprocedure.class));
 
   }
 


Mime
View raw message