You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2016/01/07 07:06:19 UTC
svn commit: r1723464 -
/commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/issues/Exec65Test.java
Author: sebb
Date: Thu Jan 7 06:06:19 2016
New Revision: 1723464
URL: http://svn.apache.org/viewvc?rev=1723464&view=rev
Log:
Remove Java 1.8 method call
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=1723464&r1=1723463&r2=1723464&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 Thu Jan 7 06:06:19 2016
@@ -72,9 +72,7 @@ public class Exec65Test {
process.destroy();
- while(process.isAlive()) {
- Thread.sleep(50);
- }
+ process.waitFor();
assertTrue(process.exitValue() != 0);
}