You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by br...@apache.org on 2020/10/12 18:34:42 UTC

[cassandra-dtest] branch master updated: Remove flaky metrics assertion

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

brandonwilliams pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git


The following commit(s) were added to refs/heads/master by this push:
     new 19f5057  Remove flaky  metrics assertion
19f5057 is described below

commit 19f50572016e5d88a114d730256cbf7bfd27889e
Author: Adam Holmberg <ad...@datastax.com>
AuthorDate: Mon Oct 12 12:21:16 2020 -0500

    Remove flaky  metrics assertion
    
    Patch by Adam Holmberg, reviewed by brandonwilliams for CASSANDRA-15992
---
 consistency_test.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/consistency_test.py b/consistency_test.py
index 493526b..e422b81 100644
--- a/consistency_test.py
+++ b/consistency_test.py
@@ -15,7 +15,6 @@ from tools.assertions import (assert_all, assert_length_equal, assert_none,
 from dtest import MultiError, Tester, create_ks, create_cf
 from tools.data import (create_c1c2_table, insert_c1c2, insert_columns,
                         query_c1c2, rows_to_list)
-from tools.jmxutils import JolokiaAgent, make_mbean
 
 since = pytest.mark.since
 logger = logging.getLogger(__name__)
@@ -1281,11 +1280,6 @@ class TestConsistency(Tester):
                    [[3]],
                    cl=ConsistencyLevel.ALL)
 
-        srp = make_mbean('metrics', type='Table', name='ShortReadProtectionRequests', keyspace='test', scope='test')
-        with JolokiaAgent(node1) as jmx:
-            # 4 srp requests for node1 and 5 for node2, total of 9
-            assert 9 == jmx.read_attribute(srp, 'Count')
-
     @since('3.0')
     def test_12872(self):
         """


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org