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

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

commit dc9066e7b29208e6dfdf8276a56c9045bd859637
Author: Sai Hemanth Gantasala <[email protected]>
AuthorDate: Tue Dec 10 23:02:49 2024 -0800

    IMPALA-13500: (Addendum) Do not assert CatalogD's partition id
    
    Amend verifying logs in impala to exclude partition id info.
    partition_id assigned by catalogD may not be in serial order, so it is
    best to avoid checking partition id in the logs.
    
    Change-Id: I27cdeb2a4bed8afa30a27d05c7399c78af5bcebb
    Reviewed-on: http://gerrit.cloudera.org:8080/22198
    Reviewed-by: Impala Public Jenkins <[email protected]>
    Tested-by: Impala Public Jenkins <[email protected]>
---
 tests/custom_cluster/test_events_custom_configs.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/custom_cluster/test_events_custom_configs.py 
b/tests/custom_cluster/test_events_custom_configs.py
index 1deaf24c8..3b2d60c21 100644
--- a/tests/custom_cluster/test_events_custom_configs.py
+++ b/tests/custom_cluster/test_events_custom_configs.py
@@ -1323,8 +1323,8 @@ class 
TestEventProcessingCustomConfigs(TestEventProcessingCustomConfigsBase):
         "insert into {} partition(p) values 
(0,0),(1,1),(2,2)".format(test_tbl))
     self.client.execute("select * from {}".format(test_tbl))
     EventProcessorUtils.wait_for_event_processing(self)
-    log_regex = r"Invalidated objects in cache: \[partition %s:p=\d 
\(id=%%d\)\]" \
-        % test_tbl
+    log_regex = r"Invalidated objects in cache: \[partition {}:p={}"\
+      .format(test_tbl, '%d')
     self.assert_impalad_log_contains('INFO', log_regex % 0, expected_count=1,
         timeout_s=20)
     self.assert_impalad_log_contains('INFO', log_regex % 1, expected_count=1,

Reply via email to