aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r1365011 - /aries/trunk/blueprint/blueprint-itests/src/test/java/org/apache/aries/blueprint/itests/TestConfigAdmin.java
Date Tue, 24 Jul 2012 12:38:37 GMT
Author: gnodet
Date: Tue Jul 24 12:38:36 2012
New Revision: 1365011

URL: http://svn.apache.org/viewvc?rev=1365011&view=rev
Log:
Another peek at fixing the integration tests.

Modified:
    aries/trunk/blueprint/blueprint-itests/src/test/java/org/apache/aries/blueprint/itests/TestConfigAdmin.java

Modified: aries/trunk/blueprint/blueprint-itests/src/test/java/org/apache/aries/blueprint/itests/TestConfigAdmin.java
URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/blueprint-itests/src/test/java/org/apache/aries/blueprint/itests/TestConfigAdmin.java?rev=1365011&r1=1365010&r2=1365011&view=diff
==============================================================================
--- aries/trunk/blueprint/blueprint-itests/src/test/java/org/apache/aries/blueprint/itests/TestConfigAdmin.java
(original)
+++ aries/trunk/blueprint/blueprint-itests/src/test/java/org/apache/aries/blueprint/itests/TestConfigAdmin.java
Tue Jul 24 12:38:36 2012
@@ -163,10 +163,11 @@ public class TestConfigAdmin extends Abs
         BlueprintContainer blueprintContainer = Helper.getBlueprintContainerForBundle(context(),
"org.apache.aries.blueprint.sample");
         assertNotNull(blueprintContainer);
 
-//        Thread.sleep(100);
-
         // Make sure only one service is registered
         // Ask the service registry, not the container, since the container might have got
it wrong :)
+        Foo foo = context().getService(Foo.class, "(service.pid=blueprint-sample-managed-service-factory.*)");
+        assertNotNull(foo);
+
         ServiceReference[] refs = context().getAllServiceReferences(Foo.class.getName(),
"(service.pid=blueprint-sample-managed-service-factory.*)");
         
         assertNotNull("No services were registered for the managed service factory", refs);



Mime
View raw message