This is an automated email from the ASF dual-hosted git repository.
ycai pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git
The following commit(s) were added to refs/heads/trunk by this push:
new bef152d Fix test_client_request_metrics (#168)
bef152d is described below
commit bef152d63018c521a84874e3eafe55663511f5b2
Author: Yifan Cai <[email protected]>
AuthorDate: Fri Nov 19 09:41:02 2021 -0800
Fix test_client_request_metrics (#168)
---
client_request_metrics_test.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/client_request_metrics_test.py b/client_request_metrics_test.py
index c241742..ec45dc2 100644
--- a/client_request_metrics_test.py
+++ b/client_request_metrics_test.py
@@ -599,9 +599,9 @@ def validate_stat_values(prefix, values, cassandra_version):
def validate_sane_histogram_values(prefix, values, cassandra_version):
validators = defaultdict(lambda: is_positive)
if 'DurationUnit' in values and cassandra_version >= '4.1':
- # Timer values (since 4.1) are in micros resolution. The default
number of buckets should be 91.
- # See CASSANDRA-16760
- validators['RecentValues'] = partial(is_histo_list, expected_len=91)
+ # Timer values (since 4.1) are in micros resolution. The default
number of buckets should be 128.
+ # See CASSANDRA-16760, CASSANDRA-17155
+ validators['RecentValues'] = partial(is_histo_list, expected_len=128)
else:
validators['RecentValues'] = partial(is_histo_list, expected_len=165)
validators['StdDev'] = is_non_negative
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]