From 87add85b959b6da46bfd3315f8bb4e93542655d8 Mon Sep 17 00:00:00 2001 From: TharmiganK Date: Fri, 13 Oct 2023 14:46:09 +0530 Subject: [PATCH] Fix error message change --- ballerina-tests/tests/http2_mutual_ssl_test.bal | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ballerina-tests/tests/http2_mutual_ssl_test.bal b/ballerina-tests/tests/http2_mutual_ssl_test.bal index a2ca2dafc1..39737a3f66 100644 --- a/ballerina-tests/tests/http2_mutual_ssl_test.bal +++ b/ballerina-tests/tests/http2_mutual_ssl_test.bal @@ -158,7 +158,8 @@ public function testHttp2MutualSsl4() returns error? { // Without keys - negative test http:Client httpClient = check new("https://localhost:9204", http2MutualSslClientConf4); http:Response|error resp = httpClient->get("/http2Service/"); - string expectedErrMsg = "SSL connection failed:javax.net.ssl.SSLHandshakeException: error:10000410:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE localhost/127.0.0.1:9204"; + string expectedErrMsg = "SSL connection failed:io.netty.handler.ssl.ReferenceCountedOpenSslEngine$OpenSslHandshakeException" + + ": error:10000410:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE localhost/127.0.0.1:9204"; if resp is error { test:assertEquals(resp.message(), expectedErrMsg); } else {