Skip to content

Commit

Permalink
net: GNUTLS_E_DECRYPTION_FAILED is_reconnect_error
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Pope <ben@redpanda.com>
  • Loading branch information
BenPope committed Nov 8, 2023
1 parent 7d9722c commit d4d7a4b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions src/v/net/connection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ bool is_reconnect_error(const std::system_error& e) {
case GNUTLS_E_UNSUPPORTED_VERSION_PACKET:
case GNUTLS_E_NO_CIPHER_SUITES:
case GNUTLS_E_PREMATURE_TERMINATION:
case GNUTLS_E_DECRYPTION_FAILED:
return true;
default:
return false;
Expand Down
2 changes: 0 additions & 2 deletions tests/rptest/tests/rpk_registry_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ def test_registry_subject(self):
assert len(out) == 0
assert len(out_deleted) == 0

@ok_to_fail
@cluster(num_nodes=3)
def test_produce_consume_avro(self):
# First we register the schemas with their references.
Expand Down Expand Up @@ -349,7 +348,6 @@ def test_produce_consume_avro(self):
assert json.loads(msg["value"]) == expected_msg_1
assert json.loads(msg["key"]) == expected_msg_2

@ok_to_fail
@cluster(num_nodes=3)
def test_produce_consume_proto(self):
# First we register the schemas with their references.
Expand Down

0 comments on commit d4d7a4b

Please sign in to comment.