Polish the code of RubyOsgiTest

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

Branch: refs/heads/camel-2.14.x
Commit: 0ed27dc3264f31eafbf995fbd70cfda7a48a3c91
Parents: f14fcfc
Author: Willem Jiang <willem.ji...@gmail.com>
Authored: Mon Feb 16 15:59:16 2015 +0800
Committer: Willem Jiang <willem.ji...@gmail.com>
Committed: Mon Feb 16 21:07:20 2015 +0800

----------------------------------------------------------------------
 .../org/apache/camel/itest/osgi/script/RubyOsgiTest.java    | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/0ed27dc3/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/script/RubyOsgiTest.java
----------------------------------------------------------------------
diff --git 
a/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/script/RubyOsgiTest.java
 
b/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/script/RubyOsgiTest.java
index 8a14a88..1173e4d 100644
--- 
a/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/script/RubyOsgiTest.java
+++ 
b/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/script/RubyOsgiTest.java
@@ -19,7 +19,6 @@ package org.apache.camel.itest.osgi.script;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.itest.osgi.OSGiIntegrationTestSupport;
-import org.junit.Ignore;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.ops4j.pax.exam.Configuration;
@@ -27,9 +26,7 @@ import org.ops4j.pax.exam.Option;
 import org.ops4j.pax.exam.junit.PaxExam;
 
 import static org.ops4j.pax.exam.OptionUtils.combine;
-import org.ops4j.pax.exam.karaf.options.KarafDistributionOption;
-import org.ops4j.pax.exam.karaf.options.LogLevelOption;
-import org.ops4j.pax.exam.karaf.options.LogLevelOption.LogLevel;
+
 
 /**
  * Test camel-script for Ruby expressions in OSGi
@@ -57,9 +54,9 @@ public class RubyOsgiTest extends OSGiIntegrationTestSupport {
     @Configuration
     public static Option[] configure() {
         Option[] options = combine(
-            getDefaultCamelKarafOptions(), 
KarafDistributionOption.keepRuntimeFolder(),
+            getDefaultCamelKarafOptions(),
             // using the features to install the other camel components        
     
-            loadCamelFeatures("camel-script", "camel-ruby")//, new 
LogLevelOption(LogLevel.DEBUG)
+            loadCamelFeatures("camel-script", "camel-ruby")
         );
         
         return options;

Reply via email to