[
https://issues.jboss.org/browse/AS7-3029?page=com.atlassian.jira.plugin.s...
]
Radoslav Husar commented on AS7-3029:
-------------------------------------
This is Paul's test but now I see it, because of AS7-2779 you need a workaround. Truly
annoying!
{noformat}
@Deployment(name = "deployment-0")
@TargetsContainer("clustering-udp-0")
public static Archive<?> deployment0() {
return createJar();
}
@Deployment(name = "deployment-1")
@TargetsContainer("clustering-udp-1")
public static Archive<?> deployment1() {
return createJar();
}
private static Archive<?> createJar() {
JavaArchive jar = ShrinkWrap.create(JavaArchive.class, ARCHIVE_NAME +
".jar");
jar.addPackage(StatefulTimeoutTestCase.class.getPackage());
jar.add(EmptyAsset.INSTANCE, "META-INF/beans.xml");
return jar;
}
{noformat}
Reenable @Ignored
org.jboss.as.test.clustering.cluster.ejb3.StatefulTimeoutTestCase
-----------------------------------------------------------------------------------
Key: AS7-3029
URL:
https://issues.jboss.org/browse/AS7-3029
Project: Application Server 7
Issue Type: Feature Request
Reporter: Kabir Khan
Assignee: Paul Ferraro
Priority: Blocker
Fix For: 7.1.0.CR1
Attachments:
org.jboss.as.test.clustering.cluster.ejb3.StatefulTimeoutTestCase-output.txt,
org.jboss.as.test.clustering.cluster.ejb3.StatefulTimeoutTestCase.txt,
TEST-org.jboss.as.test.clustering.cluster.ejb3.StatefulTimeoutTestCase.xml
on my machine the two tests from the tests-clustering-multi-node.surefire execution in
testsuite/integration/clust are run in this order and fail
{code}
[INFO] --- maven-surefire-plugin:2.10:test (tests-clustering-multi-node.surefire) @
jboss-as-testsuite-integration-clust ---
[INFO] Surefire report directory:
/Users/kabirkhan/sourcecontrol/jboss-as7/git/jboss-as/testsuite/integration/clust/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.jboss.as.test.clustering.cluster.ejb3.StatefulTimeoutTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 17.812 sec <<<
FAILURE!
Running org.jboss.as.test.clustering.cluster.web.ClusteredWebTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.827 sec
Results :
Tests in error:
org.jboss.as.test.clustering.cluster.ejb3.StatefulTimeoutTestCase: Could not deploy to
container
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0
{code}
On Jenkins they are run in the opposite order and pass - I haven't verified if a
different order would work for me. I will do in the morning if I see no activity on this
issue.
If I @Ignore the ejb test, the web test passes. I'll attach the test output files for
the failure.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira