zhijiangW commented on a change in pull request #8646: [FLINK-12735][network] Make shuffle environment implementation independent with IOManager URL: https://github.com/apache/flink/pull/8646#discussion_r297721528
########## File path: flink-runtime/src/test/java/org/apache/flink/runtime/operators/sort/ExternalSortLargeRecordsITCase.java ########## @@ -71,7 +71,7 @@ public void beforeTest() { } @After - public void afterTest() { + public void afterTest() throws Exception { this.ioManager.close(); if (!this.ioManager.isProperlyShutDown()) { Review comment: After thinking through it further, we might not remove the `isProperlyShutDown` call directly, because it is used for checking previous `IOException` which was swallowed during `close`. And `close` itself could only thrown non `IOException` atm. I also do not like the way of `isProperlyShutDown`, if we want to remove it completely, another option is let `IOManager#close` also throw `IOException` after all the file delete loop. WDYT? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services