Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion tests/resources/VCH-Util.robot
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,8 @@ Run Secret VIC Machine Inspect Command
Run VIC Machine Delete Command
${rc} ${output}= Run Secret VIC Machine Delete Command %{VCH-NAME}
Log ${output}
Wait Until Keyword Succeeds 6x 5s Check Delete Success %{VCH-NAME}
${status}= Run Keyword And Return Status Wait Until Keyword Succeeds 6x 5s Check Delete Success %{VCH-NAME}
Assert ${status} vic-machine delete failed to remove %{VCH-NAME}
Should Be Equal As Integers ${rc} 0
Should Contain ${output} Completed successfully
${output}= Run rm -rf %{VCH-NAME}
Expand Down Expand Up @@ -700,3 +701,8 @@ Enable VCH SSH
Log ${output}
Should Be Equal As Integers ${rc} 0
Should Contain ${output} Completed successfully

Assert
[Arguments] ${status} ${msg}
${envExists}= Run Keyword And Return Status Environment Variable Should Be Set FAST_FAILURE
Run Keyword If ${envExists} Run Keyword If %{FAST_FAILURE} Run Keyword Unless ${status} Fatal Error ${msg}