This is an automated email from the ASF dual-hosted git repository.

buhhunyx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new 79ee9824ee [CXF-8697] Fix order-dependent flaky tests (#942)
79ee9824ee is described below

commit 79ee9824ee30b1b710d7385efc3cec736b4a5c54
Author: Justin Chen <62852410+jchen8...@users.noreply.github.com>
AuthorDate: Mon May 2 01:57:03 2022 -0500

    [CXF-8697] Fix order-dependent flaky tests (#942)
    
    * [CXF-8697] Fix order-dependent flaky tests
    
    * Adjust the fix
---
 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 0fc7d8568d..91cae1f722 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);

Reply via email to