cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1559156 - /cxf/trunk/testutils/src/main/java/org/apache/cxf/testutil/common/ServerLauncher.java
Date Fri, 17 Jan 2014 15:45:53 GMT
Author: dkulp
Date: Fri Jan 17 15:45:52 2014
New Revision: 1559156

URL: http://svn.apache.org/r1559156
Log:
Put a limit on the size of the output we record to limit memory usage for longer running tests
that spit out a ton of info.

Modified:
    cxf/trunk/testutils/src/main/java/org/apache/cxf/testutil/common/ServerLauncher.java

Modified: cxf/trunk/testutils/src/main/java/org/apache/cxf/testutil/common/ServerLauncher.java
URL: http://svn.apache.org/viewvc/cxf/trunk/testutils/src/main/java/org/apache/cxf/testutil/common/ServerLauncher.java?rev=1559156&r1=1559155&r2=1559156&view=diff
==============================================================================
--- cxf/trunk/testutils/src/main/java/org/apache/cxf/testutil/common/ServerLauncher.java (original)
+++ cxf/trunk/testutils/src/main/java/org/apache/cxf/testutil/common/ServerLauncher.java Fri
Jan 17 15:45:52 2014
@@ -327,6 +327,9 @@ public class ServerLauncher {
                             ps.flush();
                         }
                     }
+                    if (serverOutputAll.length() > 64000) {
+                        serverOutputAll.delete(0, 10000);
+                    }
                 }
             } catch (IOException ex) {
                 if (!ex.getMessage().contains("Stream closed")) {



Mime
View raw message