snuyanzin commented on code in PR #21368: URL: https://github.com/apache/flink/pull/21368#discussion_r1031214486
########## flink-runtime/src/test/java/org/apache/flink/runtime/checkpoint/channel/SequentialChannelStateReaderImplTest.java: ########## @@ -184,7 +186,7 @@ private Map<InputChannelInfo, List<Buffer>> collectBuffers(InputGate[] gates) th private void assertConsumed(InputGate[] gates) throws InterruptedException, java.util.concurrent.ExecutionException { for (InputGate gate : gates) { - assertTrue(gate.getStateConsumedFuture().isDone()); + assertThat(gate.getStateConsumedFuture().isDone()).isTrue(); Review Comment: ```suggestion assertThat(gate.getStateConsumedFuture()).isDone(); ``` assertJ supports some `CompletableFuture` methods -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org