You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by jo...@apache.org on 2020/10/28 16:46:03 UTC

[impala] branch master updated: IMPALA-10277: Fix test_catalogd_debug_actions on S3 builds

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

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


The following commit(s) were added to refs/heads/master by this push:
     new bd4a38e  IMPALA-10277: Fix test_catalogd_debug_actions on S3 builds
bd4a38e is described below

commit bd4a38ea33ce64982f709535b133aac6d7052e01
Author: Vihang Karajgaonkar <vi...@apache.org>
AuthorDate: Thu Oct 22 11:20:34 2020 -0700

    IMPALA-10277: Fix test_catalogd_debug_actions on S3 builds
    
    test_catalogd_debug_actions fails on S3 builds because the
    time taken to load a table on S3 is faster than on HDFS.
    The fix changes the test to reduce the expected delay
    when the debug actions are set so that test works on
    S3 builds.
    
    Testing:
    1. Ran the test on the s3 build jenkins job.
    2. Ran the test on HDFS build jenkins job.
    
    Change-Id: I8348a33ff8e9c7812540e014f4de2c65636da64f
    Reviewed-on: http://gerrit.cloudera.org:8080/16664
    Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
 tests/metadata/test_catalogd_debug_actions.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/metadata/test_catalogd_debug_actions.py b/tests/metadata/test_catalogd_debug_actions.py
index 0cf3c8b..01461fb 100644
--- a/tests/metadata/test_catalogd_debug_actions.py
+++ b/tests/metadata/test_catalogd_debug_actions.py
@@ -32,7 +32,7 @@ class TestDebugActions(ImpalaTestSuite):
     self.__run_debug_action("refresh tpcds.store_sales",
       debug_action="catalogd_refresh_hdfs_listing_delay:SLEEP@50", delta=2000)
     self.__run_debug_action("refresh tpcds.store_sales",
-      debug_action="catalogd_refresh_hdfs_listing_delay:JITTER@50@0.5", delta=2000)
+      debug_action="catalogd_refresh_hdfs_listing_delay:JITTER@50@0.75", delta=1000)
     self.__run_debug_action(
       "alter table {0}.test recover partitions".format(unique_database),
       debug_action="catalogd_table_recover_delay:SLEEP@3000", delta=2000)