You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2014/06/13 13:13:15 UTC

svn commit: r1602372 - /sling/trunk/tooling/ide/eclipse-test/src/org/apache/sling/ide/test/impl/ContentImportTest.java

Author: rombert
Date: Fri Jun 13 11:13:15 2014
New Revision: 1602372

URL: http://svn.apache.org/r1602372
Log:
SLING-3660 - Refine 'connected' state of a (vlt) repository, cache node
types after disconnection properly

Update ContentImportTest to start the server before attempting to
import.

Modified:
    sling/trunk/tooling/ide/eclipse-test/src/org/apache/sling/ide/test/impl/ContentImportTest.java

Modified: sling/trunk/tooling/ide/eclipse-test/src/org/apache/sling/ide/test/impl/ContentImportTest.java
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/ide/eclipse-test/src/org/apache/sling/ide/test/impl/ContentImportTest.java?rev=1602372&r1=1602371&r2=1602372&view=diff
==============================================================================
--- sling/trunk/tooling/ide/eclipse-test/src/org/apache/sling/ide/test/impl/ContentImportTest.java (original)
+++ sling/trunk/tooling/ide/eclipse-test/src/org/apache/sling/ide/test/impl/ContentImportTest.java Fri Jun 13 11:13:15 2014
@@ -72,6 +72,8 @@ public class ContentImportTest {
         // install bundle facet
         project.installFacet("sling.content", "1.0");
 
+        wstServer.waitForServerToStart();
+
         ServerAdapter server = new ServerAdapter(wstServer.getServer());
         server.installModule(contentProject);
 
@@ -106,6 +108,8 @@ public class ContentImportTest {
         // install bundle facet
         project.installFacet("sling.content", "1.0");
 
+        wstServer.waitForServerToStart();
+
         ServerAdapter server = new ServerAdapter(wstServer.getServer());
         server.installModule(contentProject);
 
@@ -139,6 +143,8 @@ public class ContentImportTest {
         // install bundle facet
         project.installFacet("sling.content", "1.0");
 
+        wstServer.waitForServerToStart();
+
         ServerAdapter server = new ServerAdapter(wstServer.getServer());
         server.installModule(contentProject);
 
@@ -172,6 +178,8 @@ public class ContentImportTest {
         // install bundle facet
         project.installFacet("sling.content", "1.0");
 
+        wstServer.waitForServerToStart();
+
         ServerAdapter server = new ServerAdapter(wstServer.getServer());
         server.installModule(contentProject);