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 f2b9214d1aa8..f8aff5f56e15 100644 --- a/.github/workflows/unit-and-integration-tests-unified.yml +++ b/.github/workflows/unit-and-integration-tests-unified.yml @@ -79,7 +79,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 @@ -160,7 +161,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