Skip to content

Commit 3b3ceb9

Browse files
committed
Fix a test under OpenSSL
Signed-off-by: Jonh Wendell <jwendell@redhat.com>
1 parent af129f4 commit 3b3ceb9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/extensions/access_loggers/grpc/tcp_grpc_access_log_integration_test.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ TEST_P(TcpGrpcAccessLogIntegrationTest, TlsHandshakeFailure_VerifyFailed) {
850850
downstream_local_address:
851851
socket_address:
852852
address: {0}
853-
downstream_transport_failure_reason: "TLS_error:|268435581:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED:verify cert failed: cert hash and spki:TLS_error_end"
853+
downstream_transport_failure_reason: "{3}"
854854
access_log_type: NotSet
855855
downstream_direct_remote_address:
856856
socket_address:
@@ -872,7 +872,9 @@ TEST_P(TcpGrpcAccessLogIntegrationTest, TlsHandshakeFailure_VerifyFailed) {
872872
)EOF",
873873
Network::Test::getLoopbackAddressString(ipVersion()),
874874
SSL_SELECT(49199, 65535),
875-
peer_certificate_properties)));
875+
peer_certificate_properties,
876+
SSL_SELECT("TLS_error:|268435581:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED:verify cert failed: cert hash and spki:TLS_error_end",
877+
"TLS_error:|268435581:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED:TLS_error_end"))));
876878
cleanup();
877879
}
878880

0 commit comments

Comments
 (0)