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

dcapwell 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 1a8c28f  Failure to execute queries should emit a KPI other than read 
timeout/unavailable so it can be alerted/tracked
1a8c28f is described below

commit 1a8c28f8141afe2585bbb8dab0b1d4cd8237d765
Author: David Capwell <[email protected]>
AuthorDate: Fri May 14 15:53:41 2021 -0700

    Failure to execute queries should emit a KPI other than read 
timeout/unavailable so it can be alerted/tracked
    
    patch by David Capwell; reviewed by Sam Tunnicliffe for CASSANDRA-16581
---
 cqlsh_tests/test_cqlsh.py      | 4 ++++
 cqlsh_tests/test_cqlsh_copy.py | 6 ++++++
 native_transport_ssl_test.py   | 6 ++++++
 3 files changed, 16 insertions(+)

diff --git a/cqlsh_tests/test_cqlsh.py b/cqlsh_tests/test_cqlsh.py
index 85333d5..8a2a98e 100644
--- a/cqlsh_tests/test_cqlsh.py
+++ b/cqlsh_tests/test_cqlsh.py
@@ -1883,6 +1883,10 @@ Tracing session:""")
         """
         @jira_ticket CASSANDRA-15193
         """
+        self.fixture_dtest_setup.ignore_log_patterns = (
+                r'.*Unknown exception in client networking.*',
+                r'.*Invalid or unsupported protocol version \(4\).*',
+                )
         self.cluster.populate(1)
         self.cluster.set_configuration_options({ 
'native_transport_max_negotiable_protocol_version': str(3)})
         self.cluster.start()
diff --git a/cqlsh_tests/test_cqlsh_copy.py b/cqlsh_tests/test_cqlsh_copy.py
index 32db55f..396de32 100644
--- a/cqlsh_tests/test_cqlsh_copy.py
+++ b/cqlsh_tests/test_cqlsh_copy.py
@@ -49,6 +49,12 @@ class TestCqlshCopy(Tester):
     @jira_ticket CASSANDRA-3906
     """
 
+    @pytest.fixture(autouse=True)
+    def fixture_add_additional_log_patterns(self, fixture_dtest_setup):
+        fixture_dtest_setup.ignore_log_patterns = (
+            r'.*Unknown exception in client networking.*'
+        )
+
     @pytest.fixture(scope='function', autouse=True)
     def fixture_temp_files(self):
         self._tempfiles = []
diff --git a/native_transport_ssl_test.py b/native_transport_ssl_test.py
index 6901ef2..4d49103 100644
--- a/native_transport_ssl_test.py
+++ b/native_transport_ssl_test.py
@@ -18,6 +18,12 @@ class TestNativeTransportSSL(Tester):
     Native transport integration tests, specifically for ssl and port 
configurations.
     """
 
+    @pytest.fixture(autouse=True)
+    def fixture_add_additional_log_patterns(self, fixture_dtest_setup):
+        fixture_dtest_setup.ignore_log_patterns = (
+            r'.*Unknown exception in client networking.*'
+        )
+
     def test_connect_to_ssl(self):
         """
         Connecting to SSL enabled native transport port should only be 
possible using SSL enabled client

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to