You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2014/09/16 21:50:19 UTC

git commit: Improve features itest execution time

Repository: karaf
Updated Branches:
  refs/heads/master 08ce4163c -> daaec9beb


Improve features itest execution time


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/daaec9be
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/daaec9be
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/daaec9be

Branch: refs/heads/master
Commit: daaec9beb53acdb585e4548d9eedc8b9ab475ade
Parents: 08ce416
Author: Jean-Baptiste Onofré <jb...@apache.org>
Authored: Tue Sep 16 21:48:03 2014 +0200
Committer: Jean-Baptiste Onofré <jb...@apache.org>
Committed: Tue Sep 16 21:48:03 2014 +0200

----------------------------------------------------------------------
 .../apache/karaf/itests/features/EnterpriseFeaturesTest.java    | 4 ++--
 .../org/apache/karaf/itests/features/Spring3FeaturesTest.java   | 5 ++---
 .../org/apache/karaf/itests/features/Spring4FeaturesTest.java   | 4 ++--
 .../org/apache/karaf/itests/features/StandardFeaturesTest.java  | 4 ++--
 4 files changed, 8 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/daaec9be/itests/src/test/java/org/apache/karaf/itests/features/EnterpriseFeaturesTest.java
----------------------------------------------------------------------
diff --git a/itests/src/test/java/org/apache/karaf/itests/features/EnterpriseFeaturesTest.java b/itests/src/test/java/org/apache/karaf/itests/features/EnterpriseFeaturesTest.java
index 87533d4..b04e802 100644
--- a/itests/src/test/java/org/apache/karaf/itests/features/EnterpriseFeaturesTest.java
+++ b/itests/src/test/java/org/apache/karaf/itests/features/EnterpriseFeaturesTest.java
@@ -18,10 +18,10 @@ import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.ops4j.pax.exam.junit.PaxExam;
 import org.ops4j.pax.exam.spi.reactors.ExamReactorStrategy;
-import org.ops4j.pax.exam.spi.reactors.PerMethod;
+import org.ops4j.pax.exam.spi.reactors.PerClass;
 
 @RunWith(PaxExam.class)
-@ExamReactorStrategy(PerMethod.class)
+@ExamReactorStrategy(PerClass.class)
 public class EnterpriseFeaturesTest extends KarafTestSupport {
 
     @Test

http://git-wip-us.apache.org/repos/asf/karaf/blob/daaec9be/itests/src/test/java/org/apache/karaf/itests/features/Spring3FeaturesTest.java
----------------------------------------------------------------------
diff --git a/itests/src/test/java/org/apache/karaf/itests/features/Spring3FeaturesTest.java b/itests/src/test/java/org/apache/karaf/itests/features/Spring3FeaturesTest.java
index 37181c1..cee47a4 100644
--- a/itests/src/test/java/org/apache/karaf/itests/features/Spring3FeaturesTest.java
+++ b/itests/src/test/java/org/apache/karaf/itests/features/Spring3FeaturesTest.java
@@ -14,15 +14,14 @@
 package org.apache.karaf.itests.features;
 
 import org.apache.karaf.itests.KarafTestSupport;
-import org.junit.Ignore;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.ops4j.pax.exam.junit.PaxExam;
 import org.ops4j.pax.exam.spi.reactors.ExamReactorStrategy;
-import org.ops4j.pax.exam.spi.reactors.PerMethod;
+import org.ops4j.pax.exam.spi.reactors.PerClass;
 
 @RunWith(PaxExam.class)
-@ExamReactorStrategy(PerMethod.class)
+@ExamReactorStrategy(PerClass.class)
 public class Spring3FeaturesTest extends KarafTestSupport {
 
     // Spring DM

http://git-wip-us.apache.org/repos/asf/karaf/blob/daaec9be/itests/src/test/java/org/apache/karaf/itests/features/Spring4FeaturesTest.java
----------------------------------------------------------------------
diff --git a/itests/src/test/java/org/apache/karaf/itests/features/Spring4FeaturesTest.java b/itests/src/test/java/org/apache/karaf/itests/features/Spring4FeaturesTest.java
index 191087c..d7564f5 100644
--- a/itests/src/test/java/org/apache/karaf/itests/features/Spring4FeaturesTest.java
+++ b/itests/src/test/java/org/apache/karaf/itests/features/Spring4FeaturesTest.java
@@ -18,10 +18,10 @@ import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.ops4j.pax.exam.junit.PaxExam;
 import org.ops4j.pax.exam.spi.reactors.ExamReactorStrategy;
-import org.ops4j.pax.exam.spi.reactors.PerMethod;
+import org.ops4j.pax.exam.spi.reactors.PerClass;
 
 @RunWith(PaxExam.class)
-@ExamReactorStrategy(PerMethod.class)
+@ExamReactorStrategy(PerClass.class)
 public class Spring4FeaturesTest extends KarafTestSupport {
 
     @Test

http://git-wip-us.apache.org/repos/asf/karaf/blob/daaec9be/itests/src/test/java/org/apache/karaf/itests/features/StandardFeaturesTest.java
----------------------------------------------------------------------
diff --git a/itests/src/test/java/org/apache/karaf/itests/features/StandardFeaturesTest.java b/itests/src/test/java/org/apache/karaf/itests/features/StandardFeaturesTest.java
index 00fdcb9..97031db 100644
--- a/itests/src/test/java/org/apache/karaf/itests/features/StandardFeaturesTest.java
+++ b/itests/src/test/java/org/apache/karaf/itests/features/StandardFeaturesTest.java
@@ -19,10 +19,10 @@ import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.ops4j.pax.exam.junit.PaxExam;
 import org.ops4j.pax.exam.spi.reactors.ExamReactorStrategy;
-import org.ops4j.pax.exam.spi.reactors.PerMethod;
+import org.ops4j.pax.exam.spi.reactors.PerClass;
 
 @RunWith(PaxExam.class)
-@ExamReactorStrategy(PerMethod.class)
+@ExamReactorStrategy(PerClass.class)
 public class StandardFeaturesTest extends KarafTestSupport {
 
     @Test