b923 commented on a change in pull request #9759: [FLINK-14169][history-server]
Cleanup expired jobs from history server
URL: https://github.com/apache/flink/pull/9759#discussion_r337107201
##########
File path:
flink-runtime-web/src/test/java/org/apache/flink/runtime/webmonitor/history/HistoryServerTest.java
##########
@@ -105,10 +109,13 @@ public void setUp() throws Exception {
}
@After
- public void tearDown() {
+ public void tearDown() throws IOException {
if (cluster != null) {
cluster.after();
}
+
+ FileUtils.deleteDirectory(jmDirectory);
Review comment:
Removed but I had to replace `@ClassRule` by `@Rule` and change `TMP` from
constant to property `tmpFolder` because `@ClassRule` is applied after all
tests.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services