You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ta...@apache.org on 2019/04/30 15:36:05 UTC

[impala] 07/07: IMPALA-8466: disable test_caching_ddl in dockerized cluster

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

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

commit b273afd94067dfd062f9c1c039a082e4e6cbeb0c
Author: Tim Armstrong <ta...@cloudera.com>
AuthorDate: Mon Apr 29 15:26:41 2019 -0700

    IMPALA-8466: disable test_caching_ddl in dockerized cluster
    
    The test creates partitions with file:// URLs pointing at the
    host filesystem, which isn't accessible from within the
    containers. The only reason the test passed earlier was because
    of a bug fixed by the IMPALA-8454 patches which suppressed
    the error.
    
    Change-Id: If4e67cf7f5d993c15cb5e1114beb099d0dfdc325
    Reviewed-on: http://gerrit.cloudera.org:8080/13181
    Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
 tests/query_test/test_hdfs_caching.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/query_test/test_hdfs_caching.py b/tests/query_test/test_hdfs_caching.py
index e3f55e8..d683383 100644
--- a/tests/query_test/test_hdfs_caching.py
+++ b/tests/query_test/test_hdfs_caching.py
@@ -25,8 +25,8 @@ from subprocess import check_call
 from tests.common.environ import build_flavor_timeout, IS_DOCKERIZED_TEST_CLUSTER
 from tests.common.impala_cluster import ImpalaCluster
 from tests.common.impala_test_suite import ImpalaTestSuite, LOG
-from tests.common.skip import SkipIfS3, SkipIfABFS, SkipIfADLS, SkipIfIsilon, \
-    SkipIfLocal, SkipIfEC
+from tests.common.skip import (SkipIfS3, SkipIfABFS, SkipIfADLS, SkipIfIsilon,
+    SkipIfLocal, SkipIfEC, SkipIfDockerizedCluster)
 from tests.common.test_dimensions import create_single_exec_option_dimension
 from tests.util.filesystem_utils import get_fs_path
 from tests.util.shell_util import exec_process
@@ -201,6 +201,7 @@ class TestHdfsCachingDdl(ImpalaTestSuite):
     self.cleanup_db("cachedb")
 
   @pytest.mark.execute_serially
+  @SkipIfDockerizedCluster.accesses_host_filesystem
   def test_caching_ddl(self, vector):
     # Get the number of cache requests before starting the test
     num_entries_pre = get_num_cache_requests()