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

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


The following commit(s) were added to refs/heads/master by this push:
     new 529f0c7c0 [Bug] Fixed the UT null pointer of RpcClientRetryTest. 
(#2102)
529f0c7c0 is described below

commit 529f0c7c00a514bee1a39a8e83d39a2f6c6e9f18
Author: yl09099 <33595968+yl09...@users.noreply.github.com>
AuthorDate: Mon Sep 9 14:11:15 2024 +0800

    [Bug] Fixed the UT null pointer of RpcClientRetryTest. (#2102)
    
    ### What changes were proposed in this pull request?
    
    In unit tests for RpcClientRetryTest, compiling a long null pointer error.
    
    ### Why are the changes needed?
    
    Fix: #2101
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    UT.
    
    Co-authored-by: markyuanlu <markyua...@didiglobal.com>
---
 .../common/src/test/java/org/apache/uniffle/test/RpcClientRetryTest.java | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/integration-test/common/src/test/java/org/apache/uniffle/test/RpcClientRetryTest.java
 
b/integration-test/common/src/test/java/org/apache/uniffle/test/RpcClientRetryTest.java
index 9bd0944be..c2bc6234c 100644
--- 
a/integration-test/common/src/test/java/org/apache/uniffle/test/RpcClientRetryTest.java
+++ 
b/integration-test/common/src/test/java/org/apache/uniffle/test/RpcClientRetryTest.java
@@ -84,6 +84,7 @@ public class RpcClientRetryTest extends ShuffleReadWriteBase {
     
shuffleServerConf.set(ShuffleServerConf.SERVER_MEMORY_SHUFFLE_LOWWATERMARK_PERCENTAGE,
 5.0);
     
shuffleServerConf.set(ShuffleServerConf.SERVER_MEMORY_SHUFFLE_HIGHWATERMARK_PERCENTAGE,
 15.0);
     shuffleServerConf.set(ShuffleServerConf.SERVER_BUFFER_CAPACITY, 600L);
+    
shuffleServerConf.set(ShuffleServerConf.SINGLE_BUFFER_FLUSH_BLOCKS_NUM_THRESHOLD,
 1);
     return new MockedShuffleServer(shuffleServerConf);
   }
 

Reply via email to