Skip to content

Commit ae29c41

Browse files
Haizhou ZhaoHaizhou Zhao
Haizhou Zhao
authored and
Haizhou Zhao
committed
unneeded change
1 parent 60aafd1 commit ae29c41

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

spark/v3.5/spark/src/test/java/org/apache/iceberg/spark/TestBaseWithCatalog.java

-7
Original file line numberDiff line numberDiff line change
@@ -93,17 +93,10 @@ private static void startRESTServer() {
9393
// prevent using already-in-use port when testing
9494
System.setProperty("rest.port", String.valueOf(MetaStoreUtils.findFreePort()));
9595
System.setProperty(CatalogProperties.WAREHOUSE_LOCATION, warehouse.getAbsolutePath());
96-
// In-memory sqlite database by default is private to the connection that created it.
97-
// If more than 1 jdbc connection backed by in-memory sqlite is created behind one
98-
// JdbcCatalog, then different jdbc connections could provide different views of table
99-
// status even belonging to the same catalog. Reference:
100-
// https://www.sqlite.org/inmemorydb.html
101-
System.setProperty(CatalogProperties.CLIENT_POOL_SIZE, "1");
10296
restServer.start(false);
10397
restCatalog = RCKUtils.initCatalogClient();
10498
System.clearProperty("rest.port");
10599
System.clearProperty(CatalogProperties.WAREHOUSE_LOCATION);
106-
System.clearProperty(CatalogProperties.CLIENT_POOL_SIZE);
107100
} catch (Exception e) {
108101
throw new RuntimeException(e);
109102
}

0 commit comments

Comments
 (0)