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

stigahuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit ee17849499ccfb7c97e7ba58c8c68fd7efebb99e
Author: stiga-huang <[email protected]>
AuthorDate: Fri Jan 9 22:52:52 2026 +0800

    IMPALA-14671: Skip test_loaded_tables_metric in non-HDFS builds
    
    test_loaded_tables_metric requires running a Hive statement on
    HiveServer2 which is not started in non-HDFS builds, e.g. Ozone/S3
    builds. We should skip the test in such builds.
    
    Tests
     - Ran the test locally
    
    Change-Id: I87d74063f9b13ece5f41f4fb1c408451f1e00146
    Reviewed-on: http://gerrit.cloudera.org:8080/23845
    Reviewed-by: Impala Public Jenkins <[email protected]>
    Tested-by: Impala Public Jenkins <[email protected]>
---
 tests/custom_cluster/test_automatic_invalidation.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/custom_cluster/test_automatic_invalidation.py 
b/tests/custom_cluster/test_automatic_invalidation.py
index e887a2770..6abfff453 100644
--- a/tests/custom_cluster/test_automatic_invalidation.py
+++ b/tests/custom_cluster/test_automatic_invalidation.py
@@ -21,6 +21,7 @@ import pytest
 import time
 from subprocess import call
 from tests.common.environ import ImpalaTestClusterProperties
+from tests.common.skip import SkipIfFS
 from tests.util.filesystem_utils import IS_HDFS, IS_LOCAL
 
 
@@ -103,6 +104,7 @@ class 
TestAutomaticCatalogInvalidation(CustomClusterTestSuite):
     time.sleep(10)
     assert self.metadata_cache_string not in self._get_catalog_object()
 
+  @SkipIfFS.hive
   @pytest.mark.execute_serially
   @CustomClusterTestSuite.with_args(catalogd_args=timeout_flag, 
impalad_args=timeout_flag)
   def test_loaded_tables_metric(self, unique_database):

Reply via email to