]
Jan Stourac moved JBEAP-13245 to WFLY-9376:
-------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-9376 (was: JBEAP-13245)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Test Suite
(was: Test Suite)
Affects Version/s: 11.0.0.CR1
(was: 7.1.0.CR2)
TransportGuaranteeTestCase fails due to missing application.keystore
--------------------------------------------------------------------
Key: WFLY-9376
URL:
https://issues.jboss.org/browse/WFLY-9376
Project: WildFly
Issue Type: Bug
Components: Test Suite
Affects Versions: 11.0.0.CR1
Reporter: Jan Stourac
Assignee: Jan Stourac
Labels: eap7.1-ok-for-cr3
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*
{noformat}
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
{noformat}