This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new 5fd9780  HDDS-5272. Make ozonefs.robot execution repeatable (#2280)
5fd9780 is described below

commit 5fd97804848e2a3ed26c56bdc8b20298893c531d
Author: Elek, Márton <[email protected]>
AuthorDate: Mon May 31 12:46:42 2021 +0200

    HDDS-5272. Make ozonefs.robot execution repeatable (#2280)
---
 hadoop-ozone/dist/src/main/smoketest/ozonefs/setup.robot | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/hadoop-ozone/dist/src/main/smoketest/ozonefs/setup.robot 
b/hadoop-ozone/dist/src/main/smoketest/ozonefs/setup.robot
index be50d30..cb25ed9 100644
--- a/hadoop-ozone/dist/src/main/smoketest/ozonefs/setup.robot
+++ b/hadoop-ozone/dist/src/main/smoketest/ozonefs/setup.robot
@@ -30,10 +30,10 @@ ${DEEP_DIR}          test/${SCHEME}/dir
 
 *** Keywords ***
 Setup for FS test
+    Assign suite vars for FS test
     Create volumes for FS test
     Run Keyword    Create ${BUCKET_TYPE}s for FS test
     Sanity check for FS test
-    Assign suite vars for FS test
     Log    Completed setup for ${SCHEME} tests with ${BUCKET_TYPE}s in 
${VOLUME}/${BUCKET} using FS base URL: ${BASE_URL}
 
 Create volumes for FS test
@@ -65,6 +65,10 @@ Sanity check for FS test
                         Should contain        ${result}               
${BUCKET2}
 
 Assign suite vars for FS test
-    ${BASE_URL} =       Format FS URL         ${SCHEME}     ${VOLUME}    
${BUCKET}    /
+    ${random} =         Generate Random String  5  [NUMBERS]
+    Set Suite Variable  ${BUCKET}               
${random}-${BUCKET_TYPE}1-${SCHEME}
+    Set Suite Variable  ${BUCKET2}              
${random}-${BUCKET_TYPE}2-${SCHEME}
+    Set Suite Variable  ${BUCKET_IN_VOL2}       
${random}-${BUCKET_TYPE}3-${SCHEME}
+    ${BASE_URL} =       Format FS URL           ${SCHEME}     ${VOLUME}    
${BUCKET}    /
     Set Suite Variable  ${BASE_URL}
-    Set Suite Variable  ${DEEP_URL}           ${BASE_URL}${DEEP_DIR}
+    Set Suite Variable  ${DEEP_URL}             ${BASE_URL}${DEEP_DIR}
\ No newline at end of file

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to