Browse Source

HDDS-1071. Make Ozone s3 acceptance test suite centos compatible. Contributed by Elek Marton.

Bharat Viswanadham 6 years ago
parent
commit
75e8441c61
1 changed files with 5 additions and 0 deletions
  1. 5 0
      hadoop-ozone/dist/src/main/smoketest/s3/commonawslib.robot

+ 5 - 0
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