From c48a2392d2fa90030f307c958205f41a38f34ec3 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Wed, 24 Jan 2018 15:07:26 -0500 Subject: [PATCH] Use JavaScript instead of Ruby https://build.spring.io/browse/INT-SI43X-230 Looks like Ruby engine takes some time to start and `Jsr223InboundChannelAdapterTests` is slow as 3 seconds locally as well * Change the script to JavaScript and now we have 200 millis **Cherry-pick to 4.3.x** --- .../jsr223/Jsr223InboundChannelAdapterTests-context.xml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/spring-integration-scripting/src/test/java/org/springframework/integration/scripting/config/jsr223/Jsr223InboundChannelAdapterTests-context.xml b/spring-integration-scripting/src/test/java/org/springframework/integration/scripting/config/jsr223/Jsr223InboundChannelAdapterTests-context.xml index 8f23e0edc2..b2d3bc377e 100644 --- a/spring-integration-scripting/src/test/java/org/springframework/integration/scripting/config/jsr223/Jsr223InboundChannelAdapterTests-context.xml +++ b/spring-integration-scripting/src/test/java/org/springframework/integration/scripting/config/jsr223/Jsr223InboundChannelAdapterTests-context.xml @@ -13,13 +13,10 @@ - + + (function(){ return new (Java.type('java.util.Date'))(); })(); + ]]>