Skip to content
Permalink
Browse files
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
  • Loading branch information
dcapwell authored and David Capwell committed Jun 2, 2021
1 parent 363ebdb commit 1a8c28f8141afe2585bbb8dab0b1d4cd8237d765
Showing 3 changed files with 16 additions and 0 deletions.
@@ -1883,6 +1883,10 @@ def test_protocol_version_restriction(self):
"""
@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()
@@ -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 = []
@@ -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

0 comments on commit 1a8c28f

Please sign in to comment.