From 82af25c4b398182929de82c84d25205cb9d20d3b Mon Sep 17 00:00:00 2001 From: dsyer Date: Thu, 11 Dec 2008 09:53:38 +0000 Subject: [PATCH] Boost timeout in SystemCommandTaskletIntegrationTests (it fails sometimes). --- .../core/step/tasklet/SystemCommandTaskletIntegrationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-batch-core/src/test/java/org/springframework/batch/core/step/tasklet/SystemCommandTaskletIntegrationTests.java b/spring-batch-core/src/test/java/org/springframework/batch/core/step/tasklet/SystemCommandTaskletIntegrationTests.java index fa3be6fdf..4b9a1b538 100644 --- a/spring-batch-core/src/test/java/org/springframework/batch/core/step/tasklet/SystemCommandTaskletIntegrationTests.java +++ b/spring-batch-core/src/test/java/org/springframework/batch/core/step/tasklet/SystemCommandTaskletIntegrationTests.java @@ -38,7 +38,7 @@ public class SystemCommandTaskletIntegrationTests { tasklet.setEnvironmentParams(null); // inherit from parent process tasklet.setWorkingDirectory(null); // inherit from parent process tasklet.setSystemProcessExitCodeMapper(new TestExitCodeMapper()); - tasklet.setTimeout(2000); // long enough timeout + tasklet.setTimeout(5000); // long enough timeout tasklet.setTerminationCheckInterval(500); tasklet.setCommand("invalid command, change value for successful execution"); tasklet.setInterruptOnCancel(true);