mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
Merge pull request #68208 from ivancich/wip-fix-s3tests-java-home
rgw: java s3-tests change setting of JAVA_HOME Reviewed-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
commit
6459f8548c
@ -284,7 +284,7 @@ class S3tests_java(Task):
|
||||
args = ['cd',
|
||||
'{tdir}/s3-tests-java'.format(tdir=testdir),
|
||||
run.Raw('&&'),
|
||||
run.Raw('JAVA_HOME=$(alternatives --list | grep jre_1.8.0 | head -n 1 | awk \'{print $3}\')'),
|
||||
run.Raw('JAVA_HOME=$(ls -d /usr/lib/jvm/* | grep java-8 | head -n 1)'),
|
||||
'/opt/gradle/gradle/bin/gradle', 'clean', 'test',
|
||||
'--rerun-tasks', '--no-build-cache',
|
||||
]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user