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 Jan 21, 2020
1 parent e5db4d1 commit e66a6a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/integration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function test_custom_iso(){
pabot --verbose --processes $jobs --removekeywords TAG:secret -v BOOTSTRAP-ISO:$bootstrapiso --outputdir $bootstrapdir --suite 1-45-Docker-Container-Network --suite 1-19-Docker-Volume-Create --suite 7-01-Regression tests/test-cases
}

jobs="2"
jobs="1"
if (echo $prBody | grep -q "\[parallel jobs="); then
parallel=$(echo $prBody | grep "\[parallel jobs=")
jobs=$(echo $parallel | awk -F"\[parallel jobs=" '{sub(/\].*/,"",$2);print $2}')
Expand Down
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} 4 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.158.214.88
... 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 e66a6a8

Please sign in to comment.