Make expected error message substring more generic
Actual error message is platform dependent
@@ -667,7 +667,7 @@ public class HttpServerTest {
.build();
assertHttpsRequestTriggersSslHandshakeException(
- driver, clientCtx, "TLSv1.1", null, "Received fatal alert: protocol_version");
+ driver, clientCtx, "TLSv1.1", null, "protocol");
verify(metricConsumer.mockitoMock())
.add(MetricDefinitions.SSL_HANDSHAKE_FAILURE_INCOMPATIBLE_PROTOCOLS, 1L, MetricConsumerMock.STATIC_CONTEXT);
assertTrue(driver.close());
