SLING-3017 Improve Karaf integration tests
authorOliver Lietz <olli@apache.org>
Fri, 10 Mar 2017 18:55:04 +0000 (18:55 +0000)
committerOliver Lietz <olli@apache.org>
Fri, 10 Mar 2017 18:55:04 +0000 (18:55 +0000)
adjust tests (related to oak-lucene)

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1786416 13f79535-47bb-0310-9956-ffa450edef68

src/test/java/org/apache/sling/karaf/tests/bootstrap/JackrabbitOakSlingIT.java
src/test/java/org/apache/sling/karaf/tests/bootstrap/SlingLaunchpadOakMongoIT.java
src/test/java/org/apache/sling/karaf/tests/bootstrap/SlingLaunchpadOakTarIT.java

index a779969..3f4add1 100644 (file)
@@ -72,13 +72,6 @@ public class JackrabbitOakSlingIT extends KarafTestSupport {
     }
 
     @Test
-    public void testOrgApacheJackrabbitOakLucene() {
-        final Bundle bundle = findBundle("org.apache.jackrabbit.oak-lucene");
-        assertNotNull(bundle);
-        assertEquals(Bundle.ACTIVE, bundle.getState());
-    }
-
-    @Test
     public void testComGoogleGuava() {
         final Bundle bundle = findBundle("com.google.guava");
         assertNotNull(bundle);
index f8a1b9f..6ae7162 100644 (file)
@@ -93,6 +93,13 @@ public class SlingLaunchpadOakMongoIT extends AbstractSlingLaunchpadOakTestSuppo
     }
 
     @Test
+    public void testOrgApacheJackrabbitOakLucene() {
+        final Bundle bundle = findBundle("org.apache.jackrabbit.oak-lucene");
+        assertNotNull(bundle);
+        assertEquals(Bundle.ACTIVE, bundle.getState());
+    }
+
+    @Test
     public void testOrgMongodbMongoJavaDriver() {
         final Bundle bundle = findBundle("org.mongodb.mongo-java-driver");
         assertNotNull(bundle);
index 31bc7c4..c28932f 100644 (file)
@@ -50,6 +50,13 @@ public class SlingLaunchpadOakTarIT extends AbstractSlingLaunchpadOakTestSupport
     }
 
     @Test
+    public void testOrgApacheJackrabbitOakLucene() {
+        final Bundle bundle = findBundle("org.apache.jackrabbit.oak-lucene");
+        assertNotNull(bundle);
+        assertEquals(Bundle.ACTIVE, bundle.getState());
+    }
+
+    @Test
     public void testOrgApacheJackrabbitOakSegmentTar() {
         final Bundle bundle = findBundle("org.apache.jackrabbit.oak-segment-tar");
         assertNotNull(bundle);