You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2025/03/03 12:52:15 UTC

(commons-io) 02/03: Revert to original test fixture size

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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git

commit 454e73db216abf1cc8bdb87a10879781fbc78dd5
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Mon Mar 3 07:46:19 2025 -0500

    Revert to original test fixture size
---
 src/test/java/org/apache/commons/io/channels/FileChannelsTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/io/channels/FileChannelsTest.java b/src/test/java/org/apache/commons/io/channels/FileChannelsTest.java
index f9ee13449..3ca0a2ecc 100644
--- a/src/test/java/org/apache/commons/io/channels/FileChannelsTest.java
+++ b/src/test/java/org/apache/commons/io/channels/FileChannelsTest.java
@@ -85,7 +85,7 @@ public void testContentEquals(
         final Path bigFile3 = Files.createTempFile(getClass().getSimpleName(), "-3.bin");
         try {
             // This length must match any restriction from the Surefire configuration.
-            final int newLength = 2_000_000;
+            final int newLength = 1_000_000;
             final byte[] bytes1 = new byte[newLength];
             final byte[] bytes2 = new byte[newLength];
             // Make sure bytes1 and bytes2 are different despite the shuffle