Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#8677] fix(test): Fix IT `FilesetGCSCatalogIT` fails due to place-holder (#8678)

Mini Yu2e6919db6ed2
diff --git a/catalogs/catalog-fileset/src/test/java/org/apache/gravitino/catalog/fileset/integration/test/FilesetCatalogIT.java b/catalogs/catalog-fileset/src/test/java/org/apache/gravitino/catalog/fileset/integration/test/FilesetCatalogIT.java
index b1a9efb14b..9712e6cfa0 100644
--- a/catalogs/catalog-fileset/src/test/java/org/apache/gravitino/catalog/fileset/integration/test/FilesetCatalogIT.java
+++ b/catalogs/catalog-fileset/src/test/java/org/apache/gravitino/catalog/fileset/integration/test/FilesetCatalogIT.java
@@ -1300,7 +1300,8 @@ public class FilesetCatalogIT extends BaseIT {
Path location = new Path(storageLocation);
try {
fileSystem.deleteOnExit(location);
- } catch (IOException e) {
+ // Catch any exception to avoid test failure.
+ } catch (Exception e) {
LOG.warn("Failed to delete location: {}", location, e);
}
}