This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 2e9bf75  Camel-chronicle - Enable Karaf feature test again after 
fixing it
2e9bf75 is described below

commit 2e9bf75c42e3442d2131d2b0601727bbf6c182c0
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Fri Feb 9 10:12:30 2018 +0100

    Camel-chronicle - Enable Karaf feature test again after fixing it
---
 .../camel/itest/karaf/CamelChronicleTest.java      | 23 ++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)

diff --git 
a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelChronicleTest.java
 
b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelChronicleTest.java
index ece8e9b..de51ad3 100644
--- 
a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelChronicleTest.java
+++ 
b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelChronicleTest.java
@@ -17,18 +17,33 @@
 
 package org.apache.camel.itest.karaf;
 
-import org.junit.Ignore;
 import org.junit.Test;
 import org.junit.runner.RunWith;
+import org.ops4j.pax.exam.Configuration;
+import org.ops4j.pax.exam.CoreOptions;
+import org.ops4j.pax.exam.Option;
 import org.ops4j.pax.exam.junit.PaxExam;
 
-@Ignore
 @RunWith(PaxExam.class)
 public class CamelChronicleTest extends BaseKarafTest {
-    public static final String COMPONENT = "chronicle";
+    public static final String COMPONENT = 
extractName(CamelChronicleTest.class);
+    
+    @Configuration
+    public static Option[] configure() {
+        Option[] baseOptions = BaseKarafTest.configure();
+        Option[] additionalOptions = CoreOptions.options(
+            
CoreOptions.systemPackage("com.sun.nio.file,sun.nio.ch,com.sun.jdi.connect.spi")
+        );
+
+        Option[] options = new Option[baseOptions.length + 
additionalOptions.length];
+        System.arraycopy(baseOptions, 0, options, 0, baseOptions.length);
+        System.arraycopy(additionalOptions, 0, options, baseOptions.length, 
additionalOptions.length);
+
+        return options;    
+    }
 
     @Test
     public void test() throws Exception {
-        testComponent(COMPONENT);
+        testComponent(COMPONENT, "chronicle-engine");
     }
 }

-- 
To stop receiving notification emails like this one, please contact
acosent...@apache.org.

Reply via email to