Boost timeout in SystemCommandTaskletIntegrationTests (it fails sometimes).

This commit is contained in:
dsyer
2008-12-11 09:53:38 +00:00
parent 4ed2e791fc
commit 82af25c4b3

View File

@@ -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);