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

lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new b32d10351 [fix] fix unstable test (#1684)
b32d10351 is described below

commit b32d103510eaceb1bd0dcd4084e05ea7db2985ff
Author: yuzelin <[email protected]>
AuthorDate: Mon Jul 31 12:06:56 2023 +0800

    [fix] fix unstable test (#1684)
---
 .../src/test/java/org/apache/paimon/memory/MemoryPoolFactoryTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/paimon-core/src/test/java/org/apache/paimon/memory/MemoryPoolFactoryTest.java 
b/paimon-core/src/test/java/org/apache/paimon/memory/MemoryPoolFactoryTest.java
index 84422f8f1..7d5ddbf27 100644
--- 
a/paimon-core/src/test/java/org/apache/paimon/memory/MemoryPoolFactoryTest.java
+++ 
b/paimon-core/src/test/java/org/apache/paimon/memory/MemoryPoolFactoryTest.java
@@ -54,7 +54,7 @@ public class MemoryPoolFactoryTest {
         Random random = ThreadLocalRandom.current();
 
         // prepare empty owners lists
-        int numList = random.nextInt(5);
+        int numList = random.nextInt(5) + 1;
         for (int i = 0; i < numList; i++) {
             List<MemoryOwner> owners = new ArrayList<>();
             factory.addOwners(owners);

Reply via email to