This is an automated email from the ASF dual-hosted git repository.

yuqi4733 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/main by this push:
     new 141aa802d [Minor] fix(test): Fix UT error introduced by failuring to 
rebase code in time (#5197)
141aa802d is described below

commit 141aa802debbc93e3036751b2a264695d2365ebf
Author: Qi Yu <[email protected]>
AuthorDate: Mon Oct 21 21:02:03 2024 +0800

    [Minor] fix(test): Fix UT error introduced by failuring to rebase code in 
time (#5197)
    
    ### What changes were proposed in this pull request?
    
    Fix test error in 
https://github.com/apache/gravitino/actions/runs/11439368368/job/31822894542?pr=5186
    
    ### Why are the changes needed?
    
    It's a fix for IT.
    
    ### Does this PR introduce _any_ user-facing change?
    
    N/A
    
    ### How was this patch tested?
    
    UTs & ITs
---
 .../gravitino/catalog/hadoop/integration/test/HadoopS3CatalogIT.java    | 2 +-
 .../hadoop/integration/test/GravitinoVirtualFileSystemS3IT.java         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/catalogs/catalog-hadoop/src/test/java/org/apache/gravitino/catalog/hadoop/integration/test/HadoopS3CatalogIT.java
 
b/catalogs/catalog-hadoop/src/test/java/org/apache/gravitino/catalog/hadoop/integration/test/HadoopS3CatalogIT.java
index bac39b7b8..90b441392 100644
--- 
a/catalogs/catalog-hadoop/src/test/java/org/apache/gravitino/catalog/hadoop/integration/test/HadoopS3CatalogIT.java
+++ 
b/catalogs/catalog-hadoop/src/test/java/org/apache/gravitino/catalog/hadoop/integration/test/HadoopS3CatalogIT.java
@@ -139,7 +139,7 @@ public class HadoopS3CatalogIT extends HadoopCatalogIT {
     Catalog catalog = metalake.loadCatalog(catalogName);
     catalog.asSchemas().dropSchema(schemaName, true);
     metalake.dropCatalog(catalogName, true);
-    client.dropMetalake(metalakeName);
+    client.dropMetalake(metalakeName, true);
 
     try {
       closer.close();
diff --git 
a/clients/filesystem-hadoop3/src/test/java/org/apache/gravitino/filesystem/hadoop/integration/test/GravitinoVirtualFileSystemS3IT.java
 
b/clients/filesystem-hadoop3/src/test/java/org/apache/gravitino/filesystem/hadoop/integration/test/GravitinoVirtualFileSystemS3IT.java
index 22951da3a..2f9952f28 100644
--- 
a/clients/filesystem-hadoop3/src/test/java/org/apache/gravitino/filesystem/hadoop/integration/test/GravitinoVirtualFileSystemS3IT.java
+++ 
b/clients/filesystem-hadoop3/src/test/java/org/apache/gravitino/filesystem/hadoop/integration/test/GravitinoVirtualFileSystemS3IT.java
@@ -164,7 +164,7 @@ public class GravitinoVirtualFileSystemS3IT extends 
GravitinoVirtualFileSystemIT
     Catalog catalog = metalake.loadCatalog(catalogName);
     catalog.asSchemas().dropSchema(schemaName, true);
     metalake.dropCatalog(catalogName, true);
-    client.dropMetalake(metalakeName);
+    client.dropMetalake(metalakeName, true);
 
     if (client != null) {
       client.close();

Reply via email to