summaryrefslogtreecommitdiffstats
path: root/qa/tasks/s3tests_java.py
diff options
context:
space:
mode:
Diffstat (limited to 'qa/tasks/s3tests_java.py')
-rw-r--r--qa/tasks/s3tests_java.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/qa/tasks/s3tests_java.py b/qa/tasks/s3tests_java.py
index 3e20e10d06c..a58aa6cf0b4 100644
--- a/qa/tasks/s3tests_java.py
+++ b/qa/tasks/s3tests_java.py
@@ -284,6 +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}\')'),
'/opt/gradle/gradle/bin/gradle', 'clean', 'test',
'--rerun-tasks', '--no-build-cache',
]