Skip to content

Commit

Permalink
test vic for vsphere70
Browse files Browse the repository at this point in the history
  • Loading branch information
ading007 committed Mar 13, 2020
1 parent ac6fe55 commit 9f42525
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/resources/VCH-Util.robot
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ Set Test Environment Variables
# hardcode the TEST_URL_Array number as 10 since the other 6 HAAS servers are taken for other usage
${len}= Set Variable if %{DRONE_BUILD_NUMBER} 5 1
${IDX}= Evaluate %{DRONE_BUILD_NUMBER} \% ${len}
Set Environment Variable TEST_PASSWORD Alfred\!23
# Set Environment Variable TEST_TIMEOUT 5m
Set Environment Variable TEST_DATASTORE datastore1

Run Keyword If %{DRONE_BUILD_NUMBER} Set Environment Variable TEST_URL @{URLs}[${IDX}]
Run Keyword If %{DRONE_BUILD_NUMBER} Set Environment Variable TEST_URL 10.199.17.59
... ELSE Set Environment Variable TEST_URL @{URLs}[${IDX}]
Set Environment Variable GOVC_URL %{TEST_URL}
Set Environment Variable GOVC_USERNAME %{TEST_USERNAME}
Expand Down

0 comments on commit 9f42525

Please sign in to comment.