From 75c2dc63466ba9165bac98666a7793dfd27fb1cc Mon Sep 17 00:00:00 2001 From: Gian Merlino Date: Thu, 7 Nov 2024 10:53:52 -0800 Subject: [PATCH] Run JDK 21 workflows with 21.0.4. (#17458) * Run JDK 21 workflows with 21.0.4. To work around #17429, run our JDK 21 workflows with version 21.0.4. It does not appear to have this problem. * Undo changes in standard-its.yml * Add comments. --------- Co-authored-by: Zoltan Haindrich --- .github/workflows/static-checks.yml | 3 ++- .github/workflows/unit-and-integration-tests-unified.yml | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/static-checks.yml b/.github/workflows/static-checks.yml index a374cf72ccfe..6ece670dae2b 100644 --- a/.github/workflows/static-checks.yml +++ b/.github/workflows/static-checks.yml @@ -41,7 +41,8 @@ jobs: strategy: fail-fast: false matrix: - java: [ '8', '11', '17', '21' ] + # Use JDK 21.0.4 to work around https://github.com/apache/druid/issues/17429 + java: [ '8', '11', '17', '21.0.4' ] runs-on: ubuntu-latest steps: - name: checkout branch diff --git a/.github/workflows/unit-and-integration-tests-unified.yml b/.github/workflows/unit-and-integration-tests-unified.yml index 544787e79a3c..d9f2fce3021f 100644 --- a/.github/workflows/unit-and-integration-tests-unified.yml +++ b/.github/workflows/unit-and-integration-tests-unified.yml @@ -77,7 +77,8 @@ jobs: strategy: fail-fast: false matrix: - jdk: [ '8', '11', '17', '21' ] + # Use JDK 21.0.4 to work around https://github.com/apache/druid/issues/17429 + jdk: [ '8', '11', '17', '21.0.4' ] runs-on: ubuntu-latest steps: - name: Checkout branch @@ -158,7 +159,8 @@ jobs: strategy: fail-fast: false matrix: - jdk: [ 11, 17, 21 ] + # Use JDK 21.0.4 to work around https://github.com/apache/druid/issues/17429 + jdk: [ '11', '17', '21.0.4' ] name: "unit tests (jdk${{ matrix.jdk }}, sql-compat=true)" uses: ./.github/workflows/unit-tests.yml needs: unit-tests