On IBM JDK, HttpProxyTests are failing in both http and resteasy components :
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.324 sec <<< FAILURE! unknownHost(org.switchyard.component.http.HttpProxyTest) Time elapsed: 0.367 sec <<< FAILURE! java.lang.AssertionError at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.assertTrue(Assert.java:41) at org.junit.Assert.assertTrue(Assert.java:52) at org.switchyard.component.http.HttpProxyTest.unknownHost(HttpProxyTest.java:159) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
The reason is that it looks like instead of an UnknownHostException: unreachablehost, IBM JDK is throwing a org.apache.http.NoHttpResponseException: unreachablehost. We should check for this as well and allow it.
|