Skip to content

Commit

Permalink
Run JDK 21 workflows with 21.0.4. (#17458) (#17504)
Browse files Browse the repository at this point in the history
* 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: Gian Merlino <[email protected]>
Co-authored-by: Zoltan Haindrich <[email protected]>
  • Loading branch information
3 people authored Nov 22, 2024
1 parent e972706 commit c5d0fcd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/static-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/unit-and-integration-tests-unified.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c5d0fcd

Please sign in to comment.