From d6a037f0db1ce79a4264e448283a15b551db3a11 Mon Sep 17 00:00:00 2001 From: Radovan Zvoncek Date: Wed, 30 Oct 2024 11:44:00 +0200 Subject: [PATCH] Do not run DSE scenario with java 11 --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 62910c73..8cc3300f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -236,7 +236,7 @@ jobs: sed -i 's/#HEAP_NEWSIZE="800M"/HEAP_NEWSIZE="200M"/' ~/.ccm/test_cluster/node1/conf/cassandra-env.sh # remove the ThreadPriorityPolicy option for cases where we run with java 11 sed -i 's/-XX:ThreadPriorityPolicy=42//' ~/.ccm/test_cluster/node1/conf/jvm.options || true - sed -i 's/-XX:ThreadPriorityPolicy=42//' ~/.ccm/test_cluster/node1/conf/jvm8-serve.options || true + sed -i 's/-XX:ThreadPriorityPolicy=42//' ~/.ccm/test_cluster/node1/conf/jvm8-server.options || true ccm start -v ccm showlastlog|tail -100 ccm stop @@ -253,10 +253,15 @@ jobs: wget https://repo1.maven.org/maven2/com/datastax/cassandra/cassandra-driver-core/3.11.5/cassandra-driver-core-3.11.5-shaded.jar ) fi + if [ $? -eq 0 ] + then + # exclude the DSE scenario + MAYBE_EXCLUDE_DSE_SCENARIO="--tags=~@29" + fi if [ "${{ matrix.it-backend }}" == "s3" ] then # AWS S3 Storage tests - ./run_integration_tests.sh -v --s3 --no-local --cassandra-version=${{ matrix.cassandra-version }} + ./run_integration_tests.sh -v --s3 --no-local --cassandra-version=${{ matrix.cassandra-version }} ${MAYBE_EXCLUDE_DSE_SCENARIO} elif [ "${{ matrix.it-backend }}" == "gcs" ] then # Google Cloud Storage tests @@ -297,11 +302,6 @@ jobs: mv tests/integration/.coverage . poetry run coverage xml - - name: Setup tmate session - if: ${{ failure() }} - uses: mxschmitt/action-tmate@v3 - timeout-minutes: 15 - - uses: codecov/codecov-action@v1 name: Report code coverage