Skip to content

Commit

Permalink
GEODE-8097: expects at least one callback (apache#6049)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinmeiliao authored Feb 24, 2021
1 parent 3a21c28 commit e08cad4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ public void getOperationCallsSubmitMessageAndReturnsFutureThatCompletes() throws
service.getFuture(opType, opId);

await().untilAsserted(
() -> verify(serviceTransport).submitMessageForGetOperation(same(opType), same(opId)));
() -> verify(serviceTransport, atLeastOnce()).submitMessageForGetOperation(same(opType),
same(opId)));
assertThat(future.isDone()).isFalse();

when(successOperationResult.getOperationEnd()).thenReturn(new Date());
Expand Down

0 comments on commit e08cad4

Please sign in to comment.