This is an automated email from the ASF dual-hosted git repository.
jackie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push:
new 394922ef55 missed to delete the temp dir (#12637)
394922ef55 is described below
commit 394922ef55c18734f9072649c2f1591efce8400a
Author: Xiaobing <[email protected]>
AuthorDate: Wed Mar 13 09:35:53 2024 -0700
missed to delete the temp dir (#12637)
---
.../test/java/org/apache/pinot/integration/tests/ClusterTest.java | 2 +-
.../tests/PartialUpsertTableRebalanceIntegrationTest.java | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git
a/pinot-integration-test-base/src/test/java/org/apache/pinot/integration/tests/ClusterTest.java
b/pinot-integration-test-base/src/test/java/org/apache/pinot/integration/tests/ClusterTest.java
index d2bfba1c5e..77e84e1e91 100644
---
a/pinot-integration-test-base/src/test/java/org/apache/pinot/integration/tests/ClusterTest.java
+++
b/pinot-integration-test-base/src/test/java/org/apache/pinot/integration/tests/ClusterTest.java
@@ -346,7 +346,7 @@ public abstract class ClusterTest extends ControllerTest {
for (BaseServerStarter serverStarter : _serverStarters) {
serverStarter.stop();
}
- FileUtils.deleteQuietly(new File(_baseInstanceDataDir + File.separator +
"PinotServer"));
+ FileUtils.deleteQuietly(new File(_baseInstanceDataDir));
_serverStarters = null;
_serverGrpcPort = 0;
_serverAdminApiPort = 0;
diff --git
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/PartialUpsertTableRebalanceIntegrationTest.java
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/PartialUpsertTableRebalanceIntegrationTest.java
index 8afcbe9177..9d35da53bf 100644
---
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/PartialUpsertTableRebalanceIntegrationTest.java
+++
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/PartialUpsertTableRebalanceIntegrationTest.java
@@ -28,6 +28,7 @@ import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
+import org.apache.commons.io.FileUtils;
import org.apache.helix.model.IdealState;
import org.apache.pinot.client.ResultSetGroup;
import org.apache.pinot.common.exception.HttpErrorStatusException;
@@ -299,12 +300,14 @@ public class PartialUpsertTableRebalanceIntegrationTest
extends BaseClusterInteg
}
@AfterClass
- public void tearDown() {
+ public void tearDown()
+ throws IOException {
stopServer();
stopBroker();
stopController();
stopKafka();
stopZk();
+ FileUtils.deleteDirectory(_tempDir);
}
@Override
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]