elastic / rally

Macrobenchmarking framework for Elasticsearch
Apache License 2.0
37 stars 314 forks source link

Switch to JDK 21 #1875

Closed gareth-ellis closed 2 months ago

gareth-ellis commented 2 months ago

This updates the build JDK to 21, since Elasticsearch@main now requires 21 to build. I bumped the github action versions too at the same time

ebadyano commented 2 months ago

juts noticed the errors in the build:


s = '[ERROR] Cannot build. Neither JAVA21_HOME nor JAVA_HOME point to a JDK 21 installation.', cls = None, object_hook = None, parse_float = None
  | parse_int = None, parse_constant = None, object_pairs_hook = None, kw = {}
 

<br class="Apple-interchange-newline">
ebadyano commented 2 months ago

Unrelated but do we also need to update something here: https://github.com/elastic/rally/blob/5dc558f8741e483e853ca2131ad374f610b0bad1/.buildkite/it/run.sh#L35?

gareth-ellis commented 2 months ago

Just serverless thats waiting, but that test isnt touched by this PR