Author: dkulp
Date: Tue Dec 4 20:56:27 2012
New Revision: 1417170
URL: http://svn.apache.org/viewvc?rev=1417170&view=rev
Log:
Merged revisions 1415207 via git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk
........
r1415207 | ay | 2012-11-29 10:14:34 -0500 (Thu, 29 Nov 2012) | 2 lines
fix those tests having problem when cos.threshold system prop is set low
........
Modified:
cxf/branches/2.6.x-fixes/api/src/test/java/org/apache/cxf/io/CachedOutputStreamTest.java
Modified:
cxf/branches/2.6.x-fixes/api/src/test/java/org/apache/cxf/io/CachedOutputStreamTest.java
URL:
http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/api/src/test/java/org/apache/cxf/io/CachedOutputStreamTest.java?rev=1417170&r1=1417169&r2=1417170&view=diff
==============================================================================
---
cxf/branches/2.6.x-fixes/api/src/test/java/org/apache/cxf/io/CachedOutputStreamTest.java
(original)
+++
cxf/branches/2.6.x-fixes/api/src/test/java/org/apache/cxf/io/CachedOutputStreamTest.java
Tue Dec 4 20:56:27 2012
@@ -123,7 +123,7 @@ public class CachedOutputStreamTest exte
public void testUseBusProps() throws Exception {
Bus oldbus = BusFactory.getThreadDefaultBus(false);
try {
- CachedOutputStream cos = new CachedOutputStream();
+ CachedOutputStream cos = new CachedOutputStream(64);
cos.write("Hello World!".getBytes());
cos.flush();
assertNull("expects no tmp file", cos.getTempFile());