[jboss-jira] [JBoss JIRA] (WFLY-10337) AuthenticationPolicyContextTestCase doesn't work with -Dnode{0, 1} properties

Petr Kremensky (JIRA) issues at jboss.org
Mon May 7 08:33:00 EDT 2018


Petr Kremensky created WFLY-10337:
-------------------------------------

             Summary: AuthenticationPolicyContextTestCase doesn't work with -Dnode{0,1} properties
                 Key: WFLY-10337
                 URL: https://issues.jboss.org/browse/WFLY-10337
             Project: WildFly
          Issue Type: Bug
          Components: Test Suite
            Reporter: Petr Kremensky
            Assignee: Daniel Čihák


*reproduce*
{noformat}
wildfly/testsuite/integration/ws] $ mvn clean test -Dtest=AuthenticationPolicyContextTestCase -Dnode0=$MYTESTIP_1 -Dnode1=$MYTESTIP_2
...
Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing 'http://localhost:8080/picketlink-sts-ws/EchoService?wsdl'.: java.net.ConnectException: Connection refused (Connection refused)
	at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2198)
	at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2390)
	at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2422)
	at org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:266)
	at org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:165)
	at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:85)
	... 146 more

{noformat}
WSDL url
{noformat}URL wsdl = new URL("http://localhost:8080/picketlink-sts-ws/EchoService?wsdl");{noformat} shouldn't be hardcoded. Please use {{TestSuiteEnvironment}} to build it instead.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jboss-jira mailing list