felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1022559 - /felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/AdapterWithAspectTest.java
Date Thu, 14 Oct 2010 14:53:08 GMT
Author: marrs
Date: Thu Oct 14 14:53:08 2010
New Revision: 1022559

URL: http://svn.apache.org/viewvc?rev=1022559&view=rev
Log:
Fixed this test.

Modified:
    felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/AdapterWithAspectTest.java

Modified: felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/AdapterWithAspectTest.java
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/AdapterWithAspectTest.java?rev=1022559&r1=1022558&r2=1022559&view=diff
==============================================================================
--- felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/AdapterWithAspectTest.java
(original)
+++ felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/AdapterWithAspectTest.java
Thu Oct 14 14:53:08 2010
@@ -75,7 +75,7 @@ public class AdapterWithAspectTest exten
         
         m.add(provider);
 
-        int stepsInLoop = 12;
+        int stepsInLoop = 10;
         int loops = 10;
         for (int loop = 0; loop < loops; loop++) {
             int offset = stepsInLoop * loop;
@@ -95,20 +95,19 @@ public class AdapterWithAspectTest exten
             // the aspect adapter will disappear
             // the original adapter will (briefly) appear
             // the original adapter will disappear
-            e.waitForStep(10 + offset, 5000);
+            e.waitForStep(8 + offset, 5000);
             m.remove(consumer);
             // nothing should happen, all consumed services were already gone
-            e.step(11 + offset);
+            e.step(9 + offset);
             m.add(provider);
             // still nothing should happen
-            e.step(12 + offset);
+            e.step(10 + offset);
             m.remove(adapter);
             m.remove(adapter2);
             m.remove(aspect);
         }
         m.remove(provider);
         e.waitForStep(stepsInLoop * loops, 5000);
-        System.out.println("EOT");
     }
     
     static interface OriginalService {



Mime
View raw message