Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-13231

TransportGuaranteeTestCase fails due to missing application.keystore

XMLWordPrintable

      org.jboss.as.test.integration.web.security.tg.TransportGuaranteeTestCase successful execution depends on presence of application.keystore file in standalone configuration directory. There is a task defined in pom.xml named ts.integ.web.copy-keystores which should copy the required resources from target file of shared module. Since the web module doesn't depend on shared module, there is no way one can guarantee that target directory of the shared module will exist - it does not in our automation.

      The test could pass in case that org.jboss.as.test.integration.web.handlers.RequestDumpingHandlerTestCase is run prior it (this test seem to generate an own application.keystore).

      reproduce

      cd testsuite/integration/web
      rm -rf ../../shared/target/
      mvn clean test -Dtest=TransportGuaranteeTestCase
      
      Results :
      
      Tests in error: 
        TransportGuaranteeTestCase.testTransportGuaranteedAnnotation:221->performRequestsAndCheck:235->checkGetURL:189 
        TransportGuaranteeTestCase.testTransportGuaranteedDD:226->performRequestsAndCheck:235->checkGetURL:189 
        TransportGuaranteeTestCase.testTransportGuaranteedMixed:231->performRequestsAndCheck:235->checkGetURL:189 
      
      Tests run: 3, Failures: 0, Errors: 3, Skipped: 0
      

            jstourac@redhat.com Jan Stourac
            pkremens@redhat.com Petr Kremensky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: