Author: gertv
Date: Wed Oct 23 20:56:24 2013
New Revision: 1535178
URL: http://svn.apache.org/r1535178
Log:
SMXCOMP-976: Intermittent test failure in servicemix-scripting
Modified:
servicemix/components/trunk/engines/servicemix-scripting/src/test/java/org/apache/servicemix/scripting/ScriptingComponentTest.java
servicemix/components/trunk/engines/servicemix-scripting/src/test/resources/RubyExchangeProcessorJSR223.rb
Modified:
servicemix/components/trunk/engines/servicemix-scripting/src/test/java/org/apache/servicemix/scripting/ScriptingComponentTest.java
URL:
http://svn.apache.org/viewvc/servicemix/components/trunk/engines/servicemix-scripting/src/test/java/org/apache/servicemix/scripting/ScriptingComponentTest.java?rev=1535178&r1=1535177&r2=1535178&view=diff
==============================================================================
---
servicemix/components/trunk/engines/servicemix-scripting/src/test/java/org/apache/servicemix/scripting/ScriptingComponentTest.java
(original)
+++
servicemix/components/trunk/engines/servicemix-scripting/src/test/java/org/apache/servicemix/scripting/ScriptingComponentTest.java
Wed Oct 23 20:56:24 2013
@@ -36,9 +36,6 @@ public class ScriptingComponentTest exte
private static final String TEST_PROPERTY = "JSR-223-TEST-PROPERTY-NAME";
private static final String PROP_VALUE = "JSR-223-TEST-PROPERTY-VALUE";
- // TODO need to run JRuby tests first here since upgrading to 1.7.2 for
some reason. Was getting
- // NameError: ArrayJavaProxy is already defined
- // (root) at <script>:20
public void testJRubyInOut() throws Exception {
DefaultServiceMixClient client = new DefaultServiceMixClient(jbi);
InOut me = client.createInOutExchange();
Modified:
servicemix/components/trunk/engines/servicemix-scripting/src/test/resources/RubyExchangeProcessorJSR223.rb
URL:
http://svn.apache.org/viewvc/servicemix/components/trunk/engines/servicemix-scripting/src/test/resources/RubyExchangeProcessorJSR223.rb?rev=1535178&r1=1535177&r2=1535178&view=diff
==============================================================================
---
servicemix/components/trunk/engines/servicemix-scripting/src/test/resources/RubyExchangeProcessorJSR223.rb
(original)
+++
servicemix/components/trunk/engines/servicemix-scripting/src/test/resources/RubyExchangeProcessorJSR223.rb
Wed Oct 23 20:56:24 2013
@@ -17,8 +17,6 @@
# limitations under the License.
#
#
-include Java
-
import javax.jbi.messaging.MessageExchange
import javax.jbi.messaging.NormalizedMessage
import org.apache.servicemix.jbi.jaxp.StringSource