HBASE-14702 TestZKProcedureControllers.testZKCoordinatorControllerWithSingleMemberCohort is a flakey

This commit is contained in:
stack 2015-10-26 22:35:22 -07:00
parent 1128c855ad
commit 50b5465284
1 changed files with 2 additions and 1 deletions

View File

@ -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));
}