You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by st...@apache.org on 2020/10/24 10:27:58 UTC

[impala] 04/04: IMPALA-10256: Skip test_disable_incremental_metadata_updates on S3 tests

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 3ba8d637cdf38a68e25e573afa8d1d05047df2f6
Author: stiga-huang <hu...@gmail.com>
AuthorDate: Tue Oct 20 10:28:11 2020 +0800

    IMPALA-10256: Skip test_disable_incremental_metadata_updates on S3 tests
    
    IMPALA-10113 adds a test for disabling the incremental_metadata_updates
    flag to verify the metadata propagation still working correctly. The
    test invokes two test files which is used in metadata/test_ddl.py. One
    test file is about hdfs caching. It should only be run on HDFS file
    system. So we should mark the test with "SkipIf.not_hdfs".
    
    Tests:
     - Run CORE test on S3 build.
    
    Change-Id: I0b922de84cff0a1e0771d5a8470bdd9f153f85f0
    Reviewed-on: http://gerrit.cloudera.org:8080/16616
    Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
 tests/custom_cluster/test_disable_features.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/custom_cluster/test_disable_features.py b/tests/custom_cluster/test_disable_features.py
index 1434711..a8d2c0b 100644
--- a/tests/custom_cluster/test_disable_features.py
+++ b/tests/custom_cluster/test_disable_features.py
@@ -19,6 +19,7 @@ import pytest
 
 from tests.common.custom_cluster_test_suite import CustomClusterTestSuite
 from tests.common.parametrize import UniqueDatabase
+from tests.common.skip import SkipIf
 
 
 class TestDisableFeatures(CustomClusterTestSuite):
@@ -33,6 +34,7 @@ class TestDisableFeatures(CustomClusterTestSuite):
   def test_disable_orc_scanner(self, vector):
     self.run_test_case('QueryTest/disable-orc-scanner', vector)
 
+  @SkipIf.not_hdfs
   @pytest.mark.execute_serially
   @UniqueDatabase.parametrize(sync_ddl=True)
   @CustomClusterTestSuite.with_args(