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

rickyma 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 f8e432980 [MINOR] improvement(test): Disable Spark UI for Spark 
integration tests (#1831)
f8e432980 is described below

commit f8e43298067ed46f507307a0ea6e2bcf71c8207c
Author: Zhen Wang <643348...@qq.com>
AuthorDate: Wed Jun 26 12:35:46 2024 +0800

    [MINOR] improvement(test): Disable Spark UI for Spark integration tests 
(#1831)
    
    ### What changes were proposed in this pull request?
    
    Disable Spark UI for Spark integration tests.
    
    ### Why are the changes needed?
    
    Spark UI is not necessary for test cases.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Existing UTs.
---
 .../test/java/org/apache/uniffle/test/SparkIntegrationTestBase.java  | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/integration-test/spark-common/src/test/java/org/apache/uniffle/test/SparkIntegrationTestBase.java
 
b/integration-test/spark-common/src/test/java/org/apache/uniffle/test/SparkIntegrationTestBase.java
index 3a04680da..71395f281 100644
--- 
a/integration-test/spark-common/src/test/java/org/apache/uniffle/test/SparkIntegrationTestBase.java
+++ 
b/integration-test/spark-common/src/test/java/org/apache/uniffle/test/SparkIntegrationTestBase.java
@@ -105,7 +105,10 @@ public abstract class SparkIntegrationTestBase extends 
IntegrationTestBase {
   }
 
   protected SparkConf createSparkConf() {
-    return new 
SparkConf().setAppName(this.getClass().getSimpleName()).setMaster("local[4]");
+    return new SparkConf()
+        .setAppName(this.getClass().getSimpleName())
+        .setMaster("local[4]")
+        .set("spark.ui.enabled", "false");
   }
 
   public void updateSparkConfWithRssGrpc(SparkConf sparkConf) {

Reply via email to