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

benjobs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git


The following commit(s) were added to refs/heads/dev by this push:
     new 15df59882 [Hotfix] Disabled unstable test cases. (#3034)
15df59882 is described below

commit 15df598824292182d2cd5bc21f48ceabfe0e6809
Author: Yuepeng Pan <[email protected]>
AuthorDate: Fri Sep 8 00:28:28 2023 +0800

    [Hotfix] Disabled unstable test cases. (#3034)
---
 .github/workflows/maven.yml                                           | 4 ++--
 .../org/apache/streampark/console/base/util/DependencyUtilsTest.java  | 2 ++
 .../console/core/service/ApplicationManageServiceITest.java           | 2 ++
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 3e5ee1d25..23b6cfce5 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -88,7 +88,7 @@ jobs:
           distribution: "adopt"
           cache: "maven"
       - name: Build with Maven
-        run: ./mvnw -B clean install -Pshaded,dist -DskipTests
+        run: ./mvnw -B clean install -Pshaded -DskipTests
       - name: Test with Maven
-        run:  wget -c 
https://dlcdn.apache.org/flink/flink-1.17.1/flink-1.17.1-bin-scala_2.12.tgz -P 
/tmp/ && tar -zxvf /tmp/flink-1.17.1-bin-scala_2.12.tgz -C /tmp/ && ./mvnw -B 
test
+        run: ./mvnw -B test
 
diff --git 
a/streampark-console/streampark-console-service/src/test/java/org/apache/streampark/console/base/util/DependencyUtilsTest.java
 
b/streampark-console/streampark-console-service/src/test/java/org/apache/streampark/console/base/util/DependencyUtilsTest.java
index 99c0f51b3..691b0d00d 100644
--- 
a/streampark-console/streampark-console-service/src/test/java/org/apache/streampark/console/base/util/DependencyUtilsTest.java
+++ 
b/streampark-console/streampark-console-service/src/test/java/org/apache/streampark/console/base/util/DependencyUtilsTest.java
@@ -27,6 +27,7 @@ import org.apache.flink.configuration.ConfigOption;
 import org.apache.flink.table.factories.Factory;
 
 import lombok.extern.slf4j.Slf4j;
+import org.junit.jupiter.api.Disabled;
 import org.junit.jupiter.api.Test;
 
 import java.io.File;
@@ -49,6 +50,7 @@ import java.util.jar.JarFile;
 @Slf4j
 class DependencyUtilsTest {
 
+  @Disabled("Disabled due to unstable performance.")
   @Test
   public void resolveFlinkConnector() throws Exception {
 
diff --git 
a/streampark-console/streampark-console-service/src/test/java/org/apache/streampark/console/core/service/ApplicationManageServiceITest.java
 
b/streampark-console/streampark-console-service/src/test/java/org/apache/streampark/console/core/service/ApplicationManageServiceITest.java
index 759fc9dac..58e36b501 100644
--- 
a/streampark-console/streampark-console-service/src/test/java/org/apache/streampark/console/core/service/ApplicationManageServiceITest.java
+++ 
b/streampark-console/streampark-console-service/src/test/java/org/apache/streampark/console/core/service/ApplicationManageServiceITest.java
@@ -36,6 +36,7 @@ import 
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
 import org.junit.jupiter.api.AfterAll;
 import org.junit.jupiter.api.AfterEach;
 import org.junit.jupiter.api.BeforeAll;
+import org.junit.jupiter.api.Disabled;
 import org.junit.jupiter.api.Test;
 import org.junit.jupiter.api.Timeout;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -51,6 +52,7 @@ import static org.assertj.core.api.Assertions.assertThat;
  * Integration test for {@link
  * 
org.apache.streampark.console.core.service.application.ApplicationManageService}.
  */
+@Disabled("Disabled due to unstable performance.")
 class ApplicationManageServiceITest extends SpringIntegrationTestBase {
 
   static FlinkStandaloneSessionCluster cluster =

Reply via email to