You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2023/11/21 23:09:06 UTC
(cxf) branch 3.5.x-fixes updated: Fix CachedStreamTestBase::testDeleteTmpFile test case
This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch 3.5.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/3.5.x-fixes by this push:
new 294d566e5f Fix CachedStreamTestBase::testDeleteTmpFile test case
294d566e5f is described below
commit 294d566e5f359ac52ddf7301d984379f87d79df7
Author: Andriy Redko <dr...@gmail.com>
AuthorDate: Tue Nov 21 18:08:53 2023 -0500
Fix CachedStreamTestBase::testDeleteTmpFile test case
---
core/src/test/java/org/apache/cxf/io/CachedStreamTestBase.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/test/java/org/apache/cxf/io/CachedStreamTestBase.java b/core/src/test/java/org/apache/cxf/io/CachedStreamTestBase.java
index 2ad7b56aac..cdde133cb5 100755
--- a/core/src/test/java/org/apache/cxf/io/CachedStreamTestBase.java
+++ b/core/src/test/java/org/apache/cxf/io/CachedStreamTestBase.java
@@ -69,7 +69,7 @@ public abstract class CachedStreamTestBase {
@Test
public void testDeleteTmpFile() throws IOException {
- Object cache = createCache();
+ Object cache = createCache(64 * 1024);
//ensure output data size larger then 64k which will generate tmp file
String result = initTestData(65);
File tempFile = getTmpFile(result, cache);