HBASE-14702 TestZKProcedureControllers.testZKCoordinatorControllerWithSingleMemberCohort is a flakey

This commit is contained in:
stack 2015-10-26 22:35:22 -07:00
parent 496d20cfca
commit ac746e0905
1 changed files with 2 additions and 1 deletions

View File

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