snuyanzin commented on code in PR #22632:
URL: https://github.com/apache/flink/pull/22632#discussion_r1204137750
##########
flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/runner/DefaultDispatcherRunnerITCase.java:
##########
@@ -205,27 +206,26 @@ public void
leaderChange_withBlockingJobManagerTermination_doesNotAffectNewLeade
final UUID leaderSessionId = UUID.randomUUID();
final CompletableFuture<UUID> leaderFuture =
dispatcherLeaderElectionService.isLeader(leaderSessionId);
- assertThat(leaderFuture.isDone(), is(false));
+ assertThat(leaderFuture.isDone()).isFalse();
Review Comment:
```suggestion
assertThat(leaderFuture).isNotDone();
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]