Ivan Straka created WFLY-12519:
----------------------------------
Summary: MixedDomainTestSuite might not set version to null in AfterClass
method
Key: WFLY-12519
URL:
https://issues.jboss.org/browse/WFLY-12519
Project: WildFly
Issue Type: Bug
Components: Test Suite
Affects Versions: 18.0.0.Beta1
Reporter: Ivan Straka
Assignee: Ivan Straka
In our environment server might not start within a timeout (see MixedDomain710TestSuite
fail in [1]).
{code:java}
java.lang.AssertionError: Slave server-one did not start within 20000 ms
at org.junit.Assert.fail(Assert.java:88)
at
org.jboss.as.test.integration.domain.mixed.MixedDomainTestSupport.startSlaveServer(MixedDomainTestSupport.java:166)
at
org.jboss.as.test.integration.domain.mixed.MixedDomainTestSupport.start(MixedDomainTestSupport.java:129)
at
org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:157)
at
org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:133)
at
org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:78)
at
org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:68)
at
org.jboss.as.test.integration.domain.mixed.eap710.MixedDomain710TestSuite.initializeDomain(MixedDomain710TestSuite.java:44)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:383)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:344)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:417)
{code}
If this happens during the initialization phase
[
here|https://github.com/wildfly/wildfly/blob/18.0.0.Beta1/testsuite/mixed...]
support static field is not set. When AfterClass close method is called version is not set
to null
[
here|https://github.com/wildfly/wildfly/blob/18.0.0.Beta1/testsuite/mixed...].
This results to other fails in [1]. Simply because of
[
this|https://github.com/wildfly/wildfly/blob/18.0.0.Beta1/testsuite/mixed...]
- version is supposed to be null but it is not.
[1]
https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/eap-7.x-as-tes...
--
This message was sent by Atlassian Jira
(v7.13.5#713005)