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

Some jsf integration tests fail if -Dnode != localhost

    Details

      Description

      Running the tests keeping a node0 to localhost works fine:

      [pkremens@localhost testsuite] (master)$ mvn test -Dts.basic -Dts.noSmoke -Dtest=DoctypeDeclTestCase,DuplicateIDIntegrationTestCase,InjectionToPhaseListenerTest 
      ...
      Running org.jboss.as.test.integration.jsf.doctype.DoctypeDeclTestCase
      Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.809 sec - in org.jboss.as.test.integration.jsf.doctype.DoctypeDeclTestCase
      Running org.jboss.as.test.integration.jsf.duplicateid.DuplicateIDIntegrationTestCase
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.645 sec - in org.jboss.as.test.integration.jsf.duplicateid.DuplicateIDIntegrationTestCase
      Running org.jboss.as.test.integration.jsf.phaseListener.injectionTarget.InjectionToPhaseListenerTest
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.1 sec - in org.jboss.as.test.integration.jsf.phaseListener.injectionTarget.InjectionToPhaseListenerTest
      

      But once node0 is set, the tests start to fail.

      [pkremens@localhost testsuite] (master)$ mvn test -Dts.basic -Dts.noSmoke -Dtest=DoctypeDeclTestCase,DuplicateIDIntegrationTestCase,InjectionToPhaseListenerTest -Dnode0=<IP>
      ...
      Failed tests: 
        DoctypeDeclTestCase.testDoctypeDeclDisallowed:93
        DuplicateIDIntegrationTestCase.testDuplicateIDIsNotGenerated:107 expected:<200> but was:<500>
      Tests in error: 
        InjectionToPhaseListenerTest.test:61 ยป IO java.util.concurrent.ExecutionExcept...
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                fjuma Farah Juma
                Reporter:
                pkremens Petr Kremensky
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: