aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject svn commit: r1692122 - /aries/trunk/jpa/itests/jpa-container-itest/src/test/java/org/apache/aries/jpa/container/itest/JPAContainerTest.java
Date Tue, 21 Jul 2015 14:12:37 GMT
Author: cschneider
Date: Tue Jul 21 14:12:37 2015
New Revision: 1692122

URL: http://svn.apache.org/r1692122
Log:
[ARIES-1353] Adding sleep in front of problematic test

Modified:
    aries/trunk/jpa/itests/jpa-container-itest/src/test/java/org/apache/aries/jpa/container/itest/JPAContainerTest.java

Modified: aries/trunk/jpa/itests/jpa-container-itest/src/test/java/org/apache/aries/jpa/container/itest/JPAContainerTest.java
URL: http://svn.apache.org/viewvc/aries/trunk/jpa/itests/jpa-container-itest/src/test/java/org/apache/aries/jpa/container/itest/JPAContainerTest.java?rev=1692122&r1=1692121&r2=1692122&view=diff
==============================================================================
--- aries/trunk/jpa/itests/jpa-container-itest/src/test/java/org/apache/aries/jpa/container/itest/JPAContainerTest.java
(original)
+++ aries/trunk/jpa/itests/jpa-container-itest/src/test/java/org/apache/aries/jpa/container/itest/JPAContainerTest.java
Tue Jul 21 14:12:37 2015
@@ -70,6 +70,8 @@ public abstract class JPAContainerTest e
 
     @Test
     public void testEmSupplier() throws Exception {
+        // This test seems to fail sometimes on the build server. Checking if it is a timing
issue at startup
+        Thread.sleep(2000);
         EmSupplier emSupplier = getService(EmSupplier.class, "(osgi.unit.name=" + XA_TEST_UNIT
+ ")");
         try {
             emSupplier.preCall();



Mime
View raw message