You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by st...@apache.org on 2023/07/20 02:45:57 UTC
[impala] branch master updated: IMPALA-12290: Prevent flakiness of test_cache_metrics
This is an automated email from the ASF dual-hosted git repository.
stigahuang 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 be11d3eb4 IMPALA-12290: Prevent flakiness of test_cache_metrics
be11d3eb4 is described below
commit be11d3eb44bbca0dcbde2fa75cc32dffb7cf015c
Author: Gergely Fürnstáhl <gf...@cloudera.com>
AuthorDate: Mon Jul 17 11:18:19 2023 +0200
IMPALA-12290: Prevent flakiness of test_cache_metrics
Metrics in test_cache_metrics can naturally fluctuate depending on the
content of the catalog and the upper threshold is tight, increased it a
bit to have more leeway.
Test:
- Ran the test case locally a few times
Change-Id: Iebc5a87bdf723939a1b73e1da68053d4224eb193
Reviewed-on: http://gerrit.cloudera.org:8080/20203
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
tests/custom_cluster/test_local_catalog.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/custom_cluster/test_local_catalog.py b/tests/custom_cluster/test_local_catalog.py
index 32c65f872..050069f6c 100644
--- a/tests/custom_cluster/test_local_catalog.py
+++ b/tests/custom_cluster/test_local_catalog.py
@@ -518,7 +518,7 @@ class TestObservability(CustomClusterTestSuite):
cache_entry_median_size = cache_metrics[cache_entry_median_size_key]
cache_entry_99th_size = cache_metrics[cache_entry_99th_size_key]
assert cache_entry_median_size > 300 and cache_entry_median_size < 1000
- assert cache_entry_99th_size > 12500 and cache_entry_99th_size < 18000
+ assert cache_entry_99th_size > 12500 and cache_entry_99th_size < 19000
cache_hit_count_prev_run = cache_hit_count
cache_request_count_prev_run = cache_request_count