db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r1291647 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java
Date Tue, 21 Feb 2012 08:19:11 GMT
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";



Mime
View raw message