-
Bug
-
Resolution: Done
-
Minor
-
7.0.0.CR2
-
None
org.jboss.as.test.clustering.cluster.web.ClusteredWebSimpleTestCase fails in case that these three clustering tests run in specific order:
1. NonHaWebSessionPersistenceTestCase
2. BasicAuthenticationWebFailoverTestCase
3. ClusteredWebSimpleTestCase
See e.g. https://url.corp.redhat.com/8bcc666
I setup a test branch which can be used to reproduce the issue (tests are renamed, run ordered, other profiles and tests were removed):
https://github.com/pkremens/wildfly/tree/clustering-order
git clone https://github.com/pkremens/wildfly.git -b clustering-order cd wildfly ./build.sh -DskipTests ./integration-tests.sh -Dts.noSmoke -Dts.clustering
Fails with:
testGracefulServeOnUndeploy(org.jboss.as.test.clustering.cluster.web.AClusteredWebSimpleTestCase) Time elapsed: 10.34 sec <<< ERROR! java.lang.NullPointerException: null at org.jboss.as.arquillian.container.ServerSetupObserver.handleAfterUndeploy(ServerSetupObserver.java:161) ... testGracefulServeOnShutdown(org.jboss.as.test.clustering.cluster.web.AClusteredWebSimpleTestCase) Time elapsed: 0.617 sec <<< ERROR! org.jboss.arquillian.container.spi.client.container.DeploymentException: Cannot deploy: distributable.war at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:83) at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:64) ...
Note I renamed ClusteredWebSimpleTestCase to AClusteredWebSimpleTestCase and moved BasicAuthenticationWebFailoverTestCase to web package to get the required test order.
Reverting https://github.com/wildfly/wildfly/pull/5693 can be used to workaround this.
- is blocked by
-
WFARQ-14 NPE in ServerSetupObserver.handleAfterUndeploy
- Resolved