You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by sg...@apache.org on 2016/01/06 11:15:49 UTC

svn commit: r1723261 - /commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/issues/Exec65Test.java

Author: sgoeschl
Date: Wed Jan  6 10:15:49 2016
New Revision: 1723261

URL: http://svn.apache.org/viewvc?rev=1723261&view=rev
Log:
[EXEC-65] Watchdog can't destroy 'sudo' and 'sleep' - add unit test to ensure that the functionality works

Modified:
    commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/issues/Exec65Test.java

Modified: commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/issues/Exec65Test.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/issues/Exec65Test.java?rev=1723261&r1=1723260&r2=1723261&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/issues/Exec65Test.java (original)
+++ commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/issues/Exec65Test.java Wed Jan  6 10:15:49 2016
@@ -42,7 +42,7 @@ public class Exec65Test {
             final ExecuteWatchdog watchdog = new ExecuteWatchdog(TIMEOUT);
             executor.setWatchdog(watchdog);
             final CommandLine command = new CommandLine("sleep");
-            command.addArgument("900");
+            command.addArgument("60");
 
             executor.execute(command);
         }