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 kr...@apache.org on 2012/02/21 09:19:11 UTC

svn commit: r1291647 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java

Author: kristwaa
Date: Tue Feb 21 08:19:11 2012
New Revision: 1291647

URL: http://svn.apache.org/viewvc?rev=1291647&view=rev
Log:
DERBY-5608: BaseTestCase.readProcessOutput should read getInputStream() and getErrorStream() in separate threads

Removed space character from the text prepended to the stdout output from the
spawned process. Should be safe since all uses of the output relies on indexOf,
trimming or similar mechanisms (i.e. no exact match).

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java?rev=1291647&r1=1291646&r2=1291647&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java Tue Feb 21 08:19:11 2012
@@ -785,7 +785,7 @@ public abstract class BaseTestCase
         } catch (IOException ioe) {
             fail("process completion method failed", ioe);
         }
-        String output = "<STDOUT> " + wrapper.getFullServerOutput() +
+        String output = "<STDOUT>" + wrapper.getFullServerOutput() +
                 "<END STDOUT>\n";
         output += "<STDERR>" + wrapper.getFullServerError() +
                 "<END STDERR>\n";