showuon commented on code in PR #25373:
URL: https://github.com/apache/flink/pull/25373#discussion_r1917852498


##########
flink-state-backends/flink-statebackend-rocksdb/src/test/java/org/apache/flink/state/rocksdb/RocksDBWriteBatchWrapperTest.java:
##########
@@ -83,6 +85,7 @@ public void testAsyncCancellation() throws Exception {
                                 batchSizeBytes)) {
             registry.registerCloseable(writeBatchWrapper.getCancelCloseable());
             writeStartedFuture.complete(null);
+            closeCompleteFuture.join();

Review Comment:
   You're right @Zakelly ! I've updated the PR to use only 
`cancellationRequestedFuture` now. Please take a look again. Thanks.



-- 
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]

Reply via email to