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 673111be7d48a1f383e553e24bf6a027e41f91a3
Author: Zoltan Borok-Nagy <borokna...@cloudera.com>
AuthorDate: Sat Sep 5 12:45:41 2020 +0200

    IMPALA_10146: skip test_full_acid_schema_without_file_metadata_tag on 
non-HDFS file systems
    
    test_full_acid_schema_without_file_metadata_tag uses hdfs client to copy
    a file. The client is not available on non-HDFS filesystems, therefore
    the test fails. Running the test on non-HDFS filesystems is not
    relevant, so we can just skip it.
    
    Change-Id: I43a8d940e6b0586ed4241dca3f114393b3b8ec6c
    Reviewed-on: http://gerrit.cloudera.org:8080/16422
    Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
    Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
---
 tests/query_test/test_acid.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/query_test/test_acid.py b/tests/query_test/test_acid.py
index 55f6c56..304b6b8 100644
--- a/tests/query_test/test_acid.py
+++ b/tests/query_test/test_acid.py
@@ -24,7 +24,7 @@ import time
 from hive_metastore.ttypes import CommitTxnRequest, OpenTxnRequest
 from subprocess import check_call
 from tests.common.impala_test_suite import ImpalaTestSuite
-from tests.common.skip import (SkipIfHive2, SkipIfCatalogV2, SkipIfS3, 
SkipIfABFS,
+from tests.common.skip import (SkipIf, SkipIfHive2, SkipIfCatalogV2, SkipIfS3, 
SkipIfABFS,
                                SkipIfADLS, SkipIfIsilon, SkipIfLocal)
 from tests.common.test_dimensions import create_single_exec_option_dimension
 
@@ -316,6 +316,7 @@ class TestAcid(ImpalaTestSuite):
     assert len(self.execute_query("select * from {}".format(tbl_name)).data) 
== 0
 
   @SkipIfHive2.acid
+  @SkipIf.not_hdfs
   def test_full_acid_schema_without_file_metadata_tag(self, vector, 
unique_database):
     """IMPALA-10115: Some files have full ACID schema without having
     'hive.acid.version' set. We still need to identify such files as full 
ACID"""

Reply via email to