You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by cs...@apache.org on 2013/11/11 15:09:18 UTC

svn commit: r1540736 - /karaf/trunk/itests/src/test/java/org/apache/karaf/itests/features/StandardFeaturesTest.java

Author: cschneider
Date: Mon Nov 11 14:09:17 2013
New Revision: 1540736

URL: http://svn.apache.org/r1540736
Log:
KARAF-2566 Adding regression test to specifically test for the problem with aries annotation when installed after the pax-http feature

Modified:
    karaf/trunk/itests/src/test/java/org/apache/karaf/itests/features/StandardFeaturesTest.java

Modified: karaf/trunk/itests/src/test/java/org/apache/karaf/itests/features/StandardFeaturesTest.java
URL: http://svn.apache.org/viewvc/karaf/trunk/itests/src/test/java/org/apache/karaf/itests/features/StandardFeaturesTest.java?rev=1540736&r1=1540735&r2=1540736&view=diff
==============================================================================
--- karaf/trunk/itests/src/test/java/org/apache/karaf/itests/features/StandardFeaturesTest.java (original)
+++ karaf/trunk/itests/src/test/java/org/apache/karaf/itests/features/StandardFeaturesTest.java Mon Nov 11 14:09:17 2013
@@ -23,6 +23,21 @@ import org.ops4j.pax.exam.spi.reactors.P
 @RunWith(PaxExam.class)
 @ExamReactorStrategy(PerClass.class)
 public class StandardFeaturesTest extends KarafTestSupport {
+	
+	@Test
+	/**
+	 * Regression test for https://issues.apache.org/jira/browse/KARAF-2566
+	 * @throws Exception
+	 */
+	public void checkInteractionOfHttpAndAriesAnnotationFeature() throws Exception {
+		featureService.installFeature("pax-http");
+		try {
+			installAssertAndUninstallFeature("aries-annotation");
+		} finally {
+        	featureService.uninstallFeature("pax-http");
+        	featureService.uninstallFeature("pax-jetty");
+        }
+    }
 
     @Test
     public void installAriesAnnotationFeature() throws Exception {