From 647d9d74391f749a02e3daf6d0bc309d8ef0ab99 Mon Sep 17 00:00:00 2001 From: trisberg Date: Tue, 11 Nov 2008 20:41:17 +0000 Subject: [PATCH] increased SLEEP_INTERVAL to prevent intermittent test failures --- .../batch/sample/launch/RemoteLauncherTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-batch-samples/src/test/java/org/springframework/batch/sample/launch/RemoteLauncherTests.java b/spring-batch-samples/src/test/java/org/springframework/batch/sample/launch/RemoteLauncherTests.java index cb67828fd..b9c1e14a1 100644 --- a/spring-batch-samples/src/test/java/org/springframework/batch/sample/launch/RemoteLauncherTests.java +++ b/spring-batch-samples/src/test/java/org/springframework/batch/sample/launch/RemoteLauncherTests.java @@ -85,7 +85,7 @@ public class RemoteLauncherTests { @Test public void testPauseJob() throws Exception { - final int SLEEP_INTERVAL = 500; + final int SLEEP_INTERVAL = 600; assertTrue(isConnected()); assertTrue(launcher.getJobNames().contains("loopJob")); long executionId = launcher.start("loopJob", "");