1
0

[HUDI-4456] Clean up test resources (#6203)

This commit is contained in:
Shiyan Xu
2022-07-25 10:13:06 -05:00
committed by GitHub
parent 71c2c3102b
commit eee6a02f77
7 changed files with 8 additions and 8 deletions

View File

@@ -206,7 +206,7 @@ public class HoodieFlinkClientTestHarness extends HoodieCommonTestHarness implem
protected void cleanupDFS() throws java.io.IOException {
if (hdfsTestService != null) {
hdfsTestService.stop();
dfsCluster.shutdown();
dfsCluster.shutdown(true, true);
hdfsTestService = null;
dfsCluster = null;
dfs = null;

View File

@@ -195,7 +195,7 @@ public abstract class HoodieJavaClientTestHarness extends HoodieCommonTestHarnes
protected void cleanupDFS() throws IOException {
if (hdfsTestService != null) {
hdfsTestService.stop();
dfsCluster.shutdown();
dfsCluster.shutdown(true, true);
hdfsTestService = null;
dfsCluster = null;
dfs = null;

View File

@@ -433,7 +433,7 @@ public abstract class HoodieClientTestHarness extends HoodieCommonTestHarness im
protected void cleanupDFS() throws IOException {
if (hdfsTestService != null) {
hdfsTestService.stop();
dfsCluster.shutdown();
dfsCluster.shutdown(true, true);
hdfsTestService = null;
dfsCluster = null;
dfs = null;