aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject svn commit: r1697043 - /aries/trunk/jpa/itests/jpa-container-itest/src/test/java/org/apache/aries/jpa/blueprint/aries/itest/BlueprintTest.java
Date Fri, 21 Aug 2015 19:00:57 GMT
Author: cschneider
Date: Fri Aug 21 19:00:57 2015
New Revision: 1697043

URL: http://svn.apache.org/r1697043
Log:
Fix test failure in testCoordination

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

Modified: aries/trunk/jpa/itests/jpa-container-itest/src/test/java/org/apache/aries/jpa/blueprint/aries/itest/BlueprintTest.java
URL: http://svn.apache.org/viewvc/aries/trunk/jpa/itests/jpa-container-itest/src/test/java/org/apache/aries/jpa/blueprint/aries/itest/BlueprintTest.java?rev=1697043&r1=1697042&r2=1697043&view=diff
==============================================================================
--- aries/trunk/jpa/itests/jpa-container-itest/src/test/java/org/apache/aries/jpa/blueprint/aries/itest/BlueprintTest.java
(original)
+++ aries/trunk/jpa/itests/jpa-container-itest/src/test/java/org/apache/aries/jpa/blueprint/aries/itest/BlueprintTest.java
Fri Aug 21 19:00:57 2015
@@ -47,13 +47,13 @@ public class BlueprintTest extends Abstr
         assertNoCars(carService);
         for (int c=0; c<100; c++) {
             System.out.println(c);
+            Coordination coordination = coordinator.begin("testCoordination", 0);
             try {
-                coordinator.begin("testCoordination", 0);
                 carService.addCar(createBlueCar());
                 Collection<Car> cars = carService.getCars();
                 carService.updateCar(cars.iterator().next());
             } finally {
-                coordinator.pop().end();
+                coordination.end();
             }
             carService.deleteCar(BLUE_CAR_PLATE);
             Assert.assertEquals(0, carService.getCars().size());



Mime
View raw message