Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-10337

AuthenticationPolicyContextTestCase doesn't work with -Dnode{0,1} properties

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 13.0.0.Final
    • None
    • Test Suite
    • None

    Description

      reproduce

      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
      
      

      WSDL url

      URL wsdl = new URL("http://localhost:8080/picketlink-sts-ws/EchoService?wsdl");

      shouldn't be hardcoded. Please use TestSuiteEnvironment to build it instead.

      Attachments

        Issue Links

          Activity

            People

              dcihak@redhat.com Daniel Cihak
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: