From a42deae7035efc57b81d90a8f676f4a242780439 Mon Sep 17 00:00:00 2001 From: zhihanz Date: Mon, 19 Aug 2024 13:29:59 +0800 Subject: [PATCH] chore: skip flaky geometry tests: --- .github/workflows/test.yml | 2 +- .github/workflows/test_cluster.yml | 2 +- .../src/test/java/com/databend/jdbc/TestBasicDriver.java | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8777e735..cf84009e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,6 +51,6 @@ jobs: curl -u databend:databend --request POST localhost:8000/v1/query --header 'Content-Type:application/json' --data-raw '{"sql":"select 1"}' - name: Run Maven clean deploy with release profile - run: mvn test -DexcludedGroups=cluster + run: mvn test -DexcludedGroups=cluster,FLAKY env: MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} diff --git a/.github/workflows/test_cluster.yml b/.github/workflows/test_cluster.yml index 8486b73d..e9e32d23 100644 --- a/.github/workflows/test_cluster.yml +++ b/.github/workflows/test_cluster.yml @@ -34,6 +34,6 @@ jobs: version: '1.2.616-nightly' target: 'x86_64-unknown-linux-gnu' - name: Run Maven clean deploy with release profile - run: mvn clean test + run: mvn test -DexcludedGroups=FLAKY env: MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} diff --git a/databend-jdbc/src/test/java/com/databend/jdbc/TestBasicDriver.java b/databend-jdbc/src/test/java/com/databend/jdbc/TestBasicDriver.java index 42f53050..c8758e6d 100644 --- a/databend-jdbc/src/test/java/com/databend/jdbc/TestBasicDriver.java +++ b/databend-jdbc/src/test/java/com/databend/jdbc/TestBasicDriver.java @@ -334,8 +334,7 @@ public void testSelectWithPreparement() } } - @Ignore("Skipping due to failed cluster tests") - @Test(groups = {"IT"}) + @Test(groups = {"IT", "FLAKY"}) public void testSelectGeometry() throws SQLException, ParseException { // skip due to failed cluster tests