davidradl commented on code in PR #26363:
URL: https://github.com/apache/flink/pull/26363#discussion_r2016938502


##########
flink-runtime/src/test/java/org/apache/flink/runtime/io/disk/FileChannelManagerImplTest.java:
##########
@@ -211,7 +211,7 @@ public static void main(String[] args) throws Exception {
             if (callerHasHook) {
                 // Verifies the case that both FileChannelManager and its 
upper component
                 // have registered shutdown hooks, like in IOManager.
-                ShutdownHookUtil.addShutdownHook(() -> manager.close(), 
"Caller", LOG);
+                ShutdownHookUtil.addShutdownHook(manager, "Caller", LOG);

Review Comment:
   I don't think this test drives the changed code. 



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