]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: java s3-tests change setting of JAVA_HOME 68208/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Wed, 1 Apr 2026 16:29:01 +0000 (12:29 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Fri, 3 Apr 2026 23:26:41 +0000 (19:26 -0400)
commitb8e2796270f4558b406411682a9b916109d0c530
treee9e32186577f2da5990f5500667cb40bb3b2dc2c
parent8e376e9fe8eb7d3a00bf8a39d6d96dbc4a29eea0
rgw: java s3-tests change setting of JAVA_HOME

Previously s3tests_java.py set JAVA_HOME using the `alternatives`
command. That had issues in that `alternatives` is not present on all
Ubuntu systems, and some installations of Java don't update
alternatives. So instead we look for a "java-8" jvm in /usr/lib/jvm/
and set JAVA_HOME to the first one we find.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
qa/tasks/s3tests_java.py