You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by my...@apache.org on 2013/11/06 21:51:50 UTC

svn commit: r1539458 - /db/derby/code/branches/10.10/java/testing/org/apache/derbyTesting/functionTests/harness/RunTest.java

Author: myrnavl
Date: Wed Nov  6 20:51:49 2013
New Revision: 1539458

URL: http://svn.apache.org/r1539458
Log:
DERBY-6400; harness.NetServer method waitFor() is not reflecting timeout values
  removing call to String.isEmpty()

Modified:
    db/derby/code/branches/10.10/java/testing/org/apache/derbyTesting/functionTests/harness/RunTest.java

Modified: db/derby/code/branches/10.10/java/testing/org/apache/derbyTesting/functionTests/harness/RunTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.10/java/testing/org/apache/derbyTesting/functionTests/harness/RunTest.java?rev=1539458&r1=1539457&r2=1539458&view=diff
==============================================================================
--- db/derby/code/branches/10.10/java/testing/org/apache/derbyTesting/functionTests/harness/RunTest.java (original)
+++ db/derby/code/branches/10.10/java/testing/org/apache/derbyTesting/functionTests/harness/RunTest.java Wed Nov  6 20:51:49 2013
@@ -292,7 +292,7 @@ public class RunTest
                 spacedJvmFlags = spaceJvmFlags(jvmflags);   
             }
             
-            if (!(timeoutStr.isEmpty()) && !(timeoutStr==null) && (timeout >= 0)) {
+            if (!(timeoutStr==null) && (timeout >= 0)) {
                 if  (spacedJvmFlags != null)
                     spacedJvmFlags = "-Dtimeout=" + timeoutStr + " " + spacedJvmFlags;
                 else