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