-
Bug
-
Resolution: Done
-
Major
-
10.0.0.Alpha5
-
None
org.jboss.as.test.integration.ejb.security.AuthenticationTestCase fails once -Dnode0 is used. On the first sight, managementClient.getWebUri() seems to be one to blame as "http://localhost:8080" is always used now.
Running org.jboss.as.test.integration.ejb.security.AuthenticationTestCase Tests run: 19, Failures: 1, Errors: 8, Skipped: 0, Time elapsed: 1.127 sec <<< FAILURE! - in org.jboss.as.test.integration.ejb.security.AuthenticationTestCase testAuthentication_ReAuth_ViaServlet(org.jboss.as.test.integration.ejb.security.AuthenticationTestCase) Time elapsed: 0.126 sec <<< ERROR! java.io.IOException: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at sun.net.NetworkClient.doConnect(NetworkClient.java:180) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.http.HttpClient.<init>(HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1168) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1104) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:998) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:932) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1512) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) at org.jboss.as.test.integration.ejb.security.AuthenticationTestCase.processResponse(AuthenticationTestCase.java:335) at org.jboss.as.test.integration.ejb.security.AuthenticationTestCase.access$000(AuthenticationTestCase.java:79) testAuthentication_TwoBeans_ReAuth__BadPwd_ViaServlet(org.jboss.as.test.integration.ejb.security.AuthenticationTestCase) Time elapsed: 0.046 sec <<< FAILURE! java.lang.AssertionError: null 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.jboss.as.test.integration.ejb.security.AuthenticationTestCase.testAuthentication_TwoBeans_ReAuth__BadPwd_ViaServlet(AuthenticationTestCase.java:260) ...