Skip to content

Commit

Permalink
Fix error message change
Browse files Browse the repository at this point in the history
  • Loading branch information
TharmiganK committed Oct 13, 2023
1 parent 93f1065 commit 87add85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ballerina-tests/tests/http2_mutual_ssl_test.bal
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 87add85

Please sign in to comment.