jiangxin369 commented on code in PR #23331:
URL: https://github.com/apache/flink/pull/23331#discussion_r1312581263
##########
flink-tests/src/test/java/org/apache/flink/test/checkpointing/CheckpointAfterAllTasksFinishedITCase.java:
##########
@@ -75,6 +76,12 @@ public void setUp() {
bigResult = sharedObjects.add(new CopyOnWriteArrayList<>());
}
+ @AfterEach
+ public void teardown() {
+ IntegerStreamSource.latch = null;
Review Comment:
I think it would be better to initialize it if the tests actually use it.
Besides, maybe someone would add a test that constructs a CountDownLatch
initialized with a number bigger than 1 in this file.
--
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]