You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polaris.apache.org by nk...@apache.org on 2026/07/08 06:54:17 UTC
(polaris) branch main updated: Remove outdated workaround from AbstractLocalIcebergCatalogViewTest (#4965)
This is an automated email from the ASF dual-hosted git repository.
nandorKollar pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git
The following commit(s) were added to refs/heads/main by this push:
new b66f113026 Remove outdated workaround from AbstractLocalIcebergCatalogViewTest (#4965)
b66f113026 is described below
commit b66f1130264dd11649209c6ca0d9051d77707a34
Author: Nándor Kollár <na...@users.noreply.github.com>
AuthorDate: Wed Jul 8 08:54:13 2026 +0200
Remove outdated workaround from AbstractLocalIcebergCatalogViewTest (#4965)
---
.../catalog/iceberg/AbstractLocalIcebergCatalogViewTest.java | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/runtime/service/src/test/java/org/apache/polaris/service/catalog/iceberg/AbstractLocalIcebergCatalogViewTest.java b/runtime/service/src/test/java/org/apache/polaris/service/catalog/iceberg/AbstractLocalIcebergCatalogViewTest.java
index 141e6ebc42..f037778a75 100644
--- a/runtime/service/src/test/java/org/apache/polaris/service/catalog/iceberg/AbstractLocalIcebergCatalogViewTest.java
+++ b/runtime/service/src/test/java/org/apache/polaris/service/catalog/iceberg/AbstractLocalIcebergCatalogViewTest.java
@@ -23,9 +23,7 @@ import io.quarkus.test.junit.QuarkusMock;
import io.smallrye.common.annotation.Identifier;
import jakarta.inject.Inject;
import java.io.IOException;
-import java.lang.reflect.Field;
import java.lang.reflect.Method;
-import java.nio.file.Path;
import java.util.List;
import java.util.Map;
import java.util.Set;
@@ -75,7 +73,6 @@ import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInfo;
-import org.junit.jupiter.api.io.TempDir;
import org.mockito.Mockito;
public abstract class AbstractLocalIcebergCatalogViewTest
@@ -127,14 +124,6 @@ public abstract class AbstractLocalIcebergCatalogViewTest
QuarkusMock.installMockForType(mock, PolarisStorageIntegrationProviderImpl.class);
}
- @BeforeEach
- public void setUpTempDir(@TempDir Path tempDir) throws Exception {
- // see https://github.com/quarkusio/quarkus/issues/13261
- Field field = ViewCatalogTests.class.getDeclaredField("tempDir");
- field.setAccessible(true);
- field.set(this, tempDir);
- }
-
protected void bootstrapRealm(String realmName) {}
@BeforeEach