sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1450785 - /sling/trunk/installer/it/src/test/java/org/apache/sling/installer/it/OsgiInstallerTestBase.java
Date Wed, 27 Feb 2013 14:27:07 GMT
Author: cziegeler
Date: Wed Feb 27 14:27:06 2013
New Revision: 1450785

URL: http://svn.apache.org/r1450785
Log:
Refactor test case to always use config admin tracker

Modified:
    sling/trunk/installer/it/src/test/java/org/apache/sling/installer/it/OsgiInstallerTestBase.java

Modified: sling/trunk/installer/it/src/test/java/org/apache/sling/installer/it/OsgiInstallerTestBase.java
URL: http://svn.apache.org/viewvc/sling/trunk/installer/it/src/test/java/org/apache/sling/installer/it/OsgiInstallerTestBase.java?rev=1450785&r1=1450784&r2=1450785&view=diff
==============================================================================
--- sling/trunk/installer/it/src/test/java/org/apache/sling/installer/it/OsgiInstallerTestBase.java
(original)
+++ sling/trunk/installer/it/src/test/java/org/apache/sling/installer/it/OsgiInstallerTestBase.java
Wed Feb 27 14:27:06 2013
@@ -178,7 +178,7 @@ class OsgiInstallerTestBase implements F
     }
 
     protected Configuration findConfiguration(String pid) throws Exception {
-    	final ConfigurationAdmin ca = getService(ConfigurationAdmin.class);
+    	final ConfigurationAdmin ca = this.waitForConfigAdmin(true);
     	if (ca != null) {
 	    	final Configuration[] cfgs = ca.listConfigurations(null);
 	    	if (cfgs != null) {



Mime
View raw message