modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3Test.java
| 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 719848be6079a1ee534eba40bbdaeecae4ef0008
Author: John Sanda <jsanda(a)redhat.com>
Date: Mon Feb 7 15:42:59 2011 -0500
Adding the integration.ejb3 group back to the startEmbeddedJboss method
Trying to resolve test failures on hudson which I think is due to the
order of test execution. I see that tests in the plugin.metadata group
are executing before the startEmbeddedJboss method is called which
causes data source JNDI look ups to fail. The plugin.metadata group
depends on the integration.ejb3 group to ensure that the embedded
container is bootstrapped.
diff --git
a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3Test.java
b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3Test.java
index 0242c65..45ea41b 100644
---
a/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3Test.java
+++
b/modules/enterprise/server/jar/src/test/java/org/rhq/enterprise/server/test/AbstractEJB3Test.java
@@ -63,7 +63,8 @@ import org.rhq.enterprise.server.util.LookupUtil;
* @author Greg Hinkle
*/
public abstract class AbstractEJB3Test extends AssertJUnit {
- @BeforeSuite//(groups = {"integration.ejb3","PERF"}) // TODO
investigate again
+ //@BeforeSuite(groups = {"integration.ejb3","PERF"}) // TODO
investigate again
+ @BeforeSuite(groups = {"integration.ejb3"})
public static void startupEmbeddedJboss() throws Exception {
// Setting content location to the tmp dir
System.setProperty(ContentSourceManagerBean.FILESYSTEM_PROPERTY,
System.getProperty("java.io.tmpdir"));
Show replies by date