You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Fang-Yu Rao (Jira)" <ji...@apache.org> on 2020/08/18 22:06:00 UTC

[jira] [Created] (IMPALA-10092) Some tests in custom_cluster/test_kudu.py do not run even it is not explicitly disabled.

Fang-Yu Rao created IMPALA-10092:
------------------------------------

             Summary: Some tests in custom_cluster/test_kudu.py do not run even it is not explicitly disabled.
                 Key: IMPALA-10092
                 URL: https://issues.apache.org/jira/browse/IMPALA-10092
             Project: IMPALA
          Issue Type: Bug
          Components: Infrastructure
            Reporter: Fang-Yu Rao
            Assignee: Fang-Yu Rao


We found that the following tests in https://github.com/apache/impala/blob/master/tests/custom_cluster/test_kudu.py do not run even we remove all the decorators like "{{@SkipIfKudu.no_hybrid_clock}}" or "{{@SkipIfHive3.kudu_hms_notifications_not_supported}}" to skip the tests.

# {{TestKuduOperations::test_local_tz_conversion_ops}}
# {{TestKuduClientTimeout::test_impalad_timeout}}
# {{TestKuduHMSIntegration::test_create_managed_kudu_tables}}
# {{TestKuduHMSIntegration::test_kudu_alter_table}}

This may be due to the fact that we add at https://github.com/apache/impala/blob/master/tests/common/custom_cluster_test_suite.py#L78-L80 a constraint that only allows '{{table_format}}' to be "{{text/none}}", i.e., '{{file_format}}' has to be "{{text}}" and '{{compression_codec}}' has to be "{{none}}". It can be verified that by removing this constraint, the tests above could be run after removing all the decorators with '{{table_format}}' being "{{kudu/none}}", which is added according to https://github.com/apache/impala/blob/master/tests/common/test_dimensions.py#L116-L119.
 
In this regard, we may need to override the class method of add_test_dimensions() of the classes of {{TestKuduOperations}}, {{TestKuduClientTimeout}}, and {{TestKuduHMSIntegration}} so that once those currently disabled Kudu tests are re-enabled, those tests involving the test vector could be run.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)