Run JDK 21 workflows with 21.0.4. (#17458) (#17504)

* 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 <gianmerlino@gmail.com>
Co-authored-by: Zoltan Haindrich <kirk@rxd.hu>
This commit is contained in:
Clint Wylie 2024-11-22 11:50:15 -08:00 committed by GitHub
parent e97270664b
commit c5d0fcde50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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