testBuilderUsesDefaultSSLContext fails due to a wrong exception message #31940
Closed
Description
opened on Jul 10, 2018
This test failed today of the above test while running on java11, which may be relevant:
16:26:03 FAILURE 0.58s J2 | RestClientBuilderIntegTests.testBuilderUsesDefaultSSLContext <<< FAILURES!
16:26:03 > Throwable #1: java.lang.AssertionError:
16:26:03 > Expected: a string containing "General SSLEngine problem"
16:26:03 > but: was "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"
16:26:03 > at __randomizedtesting.SeedInfo.seed([40A8A6346B9B56FA:78D0B8F8B871D88F]:0)
16:26:03 > at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
16:26:03 > at org.elasticsearch.client.RestClientBuilderIntegTests.testBuilderUsesDefaultSSLContext(RestClientBuilderIntegTests.java:82)
16:26:03 > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
16:26:03 > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
16:26:03 > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
16:26:03 > at java.base/java.lang.reflect.Method.invoke(Method.java:566)
16:26:03 > at java.base/java.lang.Thread.run(Thread.java:834)
Activity