Skip to content

Commit 6729b55

Browse files
author
ading007
authored
Update vic ci testbed number (#8638)
Moving out 1 vic ci testbed for other tests
1 parent 50a4495 commit 6729b55

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/resources/VCH-Util.robot

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ Set Test Environment Variables
3434

3535
@{URLs}= Split String %{TEST_URL_ARRAY}
3636
#${len}= Get Length ${URLs}
37-
# hardcode the TEST_URL_Array number as 3 since the other HAAS servers are taken for other usage
38-
${len}= Set Variable if %{DRONE_BUILD_NUMBER} 3 1
37+
# hardcode the TEST_URL_Array number as 2 since the other HAAS servers are taken for other usage
38+
${len}= Set Variable if %{DRONE_BUILD_NUMBER} 2 1
3939
${IDX}= Evaluate %{DRONE_BUILD_NUMBER} \% ${len}
4040

4141
Run Keyword If %{DRONE_BUILD_NUMBER} Set Environment Variable TEST_URL @{URLs}[${IDX}]

tests/wait_until_previous_builds_complete.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
unit_test_array=($TEST_URL_ARRAY)
1717
numServers=${#unit_test_array[@]}
18-
#hardcode number as 3, since the other HAAS servers are taken for other usage
19-
numServers=3
18+
#hardcode number as 2, since the other HAAS servers are taken for other usage
19+
numServers=2
2020
DRONE_BUILD_NUMBER=${DRONE_BUILD_NUMBER:=0}
2121
prevBuildNumber=$(( $DRONE_BUILD_NUMBER-$numServers ))
2222
prevBuildStatus=`drone build info --format='{{.Status}}' vmware/vic $prevBuildNumber`

0 commit comments

Comments
 (0)