-
Bug
-
Resolution: Done
-
Minor
-
jboss-fuse-6.2.1
-
None
-
%
-
6.3 Sprint 3 (Feb 29 - Mar 25)
This test fails with the error below. It passes upstream, even though the test code is the same. (NOTE: I cherry-picked https://github.com/jboss-fuse/camel/commit/49dc1e3890096cfd75f1dfd145b6080dfc742295, but it did not fix this failure.)
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.camel.component.netty.http.NettyHttpSSLHandshakeErrorTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.551 sec <<< FAILURE! - in org.apache.camel.component.netty.http.NettyHttpSSLHandshakeErrorTest
testHttpsHandshakeError(org.apache.camel.component.netty.http.NettyHttpSSLHandshakeErrorTest) Time elapsed: 1.448 sec <<< FAILURE!
java.lang.AssertionError: exception expected expected:<class javax.net.ssl.SSLHandshakeException> but was:<class java.nio.channels.ClosedChannelException>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.apache.camel.component.netty.http.NettyHttpSSLHandshakeErrorTest.testHttpsHandshakeError(NettyHttpSSLHandshakeErrorTest.java:57)
Results :
Failed tests:
NettyHttpSSLHandshakeErrorTest.testHttpsHandshakeError:57->Assert.assertEquals:118->Assert.failNotEquals:743->Assert.fail:88 exception expected expected:<class javax.net.ssl.SSLHandshakeException> but was:<class java.nio.channels.ClosedChannelException>
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0