|
@@ -174,6 +174,10 @@ class CxfClientTest extends JaxRsClientTest {
|
|
|
Throwable clientSpanError(URI uri, Throwable exception) {
|
|
|
switch (uri.toString()) {
|
|
|
case "http://localhost:61/": // unopened port
|
|
|
+ if (exception.getCause() instanceof ConnectException) {
|
|
|
+ exception = exception.getCause()
|
|
|
+ }
|
|
|
+ break
|
|
|
case "https://192.0.2.1/": // non routable address
|
|
|
if (exception.getCause() != null) {
|
|
|
exception = exception.getCause()
|
|
@@ -182,6 +186,11 @@ class CxfClientTest extends JaxRsClientTest {
|
|
|
return exception
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ boolean testWithClientParent() {
|
|
|
+ !Boolean.getBoolean("testLatestDeps")
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
String userAgent() {
|
|
|
"Apache"
|
|
@@ -191,6 +200,7 @@ class CxfClientTest extends JaxRsClientTest {
|
|
|
ClientBuilder builder() {
|
|
|
return new ClientBuilderImpl()
|
|
|
.property("http.connection.timeout", (long) CONNECT_TIMEOUT_MS)
|
|
|
+ .property("org.apache.cxf.transport.http.forceVersion", "1.1")
|
|
|
}
|
|
|
|
|
|
@Override
|