From 75e8441c616deb2de2390e9375259ffdc6417935 Mon Sep 17 00:00:00 2001 From: Bharat Viswanadham Date: Thu, 7 Feb 2019 08:53:11 -0800 Subject: [PATCH] HDDS-1071. Make Ozone s3 acceptance test suite centos compatible. Contributed by Elek Marton. --- hadoop-ozone/dist/src/main/smoketest/s3/commonawslib.robot | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hadoop-ozone/dist/src/main/smoketest/s3/commonawslib.robot b/hadoop-ozone/dist/src/main/smoketest/s3/commonawslib.robot index f4261455c8..75f396c426 100644 --- a/hadoop-ozone/dist/src/main/smoketest/s3/commonawslib.robot +++ b/hadoop-ozone/dist/src/main/smoketest/s3/commonawslib.robot @@ -39,7 +39,12 @@ Execute AWSS3Cli Install aws cli ${rc} ${output} = Run And Return Rc And Output which apt-get Run Keyword if '${rc}' == '0' Install aws cli s3 debian + ${rc} ${output} = Run And Return Rc And Output yum --help + Run Keyword if '${rc}' == '0' Install aws cli s3 centos + +Install aws cli s3 centos + Execute sudo yum install -y awscli Install aws cli s3 debian Execute sudo apt-get install -y awscli