increase number of test VMs from 2 to 3
This commit is contained in:
1 parent
9a089a111f
commit
210b926064
3 files changed
+4
-3
No files matched your search
Vendored
+1
-1
@@ -5,7 +5,7 @@ VAGRANTFILE_API_VERSION = "2"
|
|||||||
Vagrant.require_version ">= 1.7.0"
|
Vagrant.require_version ">= 1.7.0"
|
||||||
|
|
||||||
# these ought to match what is in config.sh
|
# these ought to match what is in config.sh
|
||||||
n_machines = 2
|
n_machines = 3
|
||||||
ip_prefix = "192.168.48"
|
ip_prefix = "192.168.48"
|
||||||
ip_suffix_base = 10
|
ip_suffix_base = 10
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -12,7 +12,7 @@ fi
|
|||||||
SOURCED_CONFIG_SH=true
|
SOURCED_CONFIG_SH=true
|
||||||
|
|
||||||
# these ought to match what is in Vagrantfile
|
# these ought to match what is in Vagrantfile
|
||||||
N_MACHINES=${N_MACHINES:-2}
|
N_MACHINES=${N_MACHINES:-3}
|
||||||
IP_PREFIX=${IP_PREFIX:-192.168.48}
|
IP_PREFIX=${IP_PREFIX:-192.168.48}
|
||||||
IP_SUFFIX_BASE=${IP_SUFFIX_BASE:-10}
|
IP_SUFFIX_BASE=${IP_SUFFIX_BASE:-10}
|
||||||
|
|
||||||
@@ -26,6 +26,7 @@ fi
|
|||||||
# these are used by the tests
|
# these are used by the tests
|
||||||
HOST1=$(echo $HOSTS | cut -f 1 -d ' ')
|
HOST1=$(echo $HOSTS | cut -f 1 -d ' ')
|
||||||
HOST2=$(echo $HOSTS | cut -f 2 -d ' ')
|
HOST2=$(echo $HOSTS | cut -f 2 -d ' ')
|
||||||
|
HOST3=$(echo $HOSTS | cut -f 3 -d ' ')
|
||||||
|
|
||||||
. "$DIR/assert.sh"
|
. "$DIR/assert.sh"
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -13,7 +13,7 @@ PROJECT=${PROJECT:-positive-cocoa-90213}
|
|||||||
IMAGE=ubuntu-14-04
|
IMAGE=ubuntu-14-04
|
||||||
TEMPLATE_NAME="test-template-2"
|
TEMPLATE_NAME="test-template-2"
|
||||||
ZONE=us-central1-a
|
ZONE=us-central1-a
|
||||||
NUM_HOSTS=2
|
NUM_HOSTS=3
|
||||||
SUFFIX=""
|
SUFFIX=""
|
||||||
if [ -n "$CIRCLECI" ]; then
|
if [ -n "$CIRCLECI" ]; then
|
||||||
SUFFIX="-${CIRCLE_BUILD_NUM}-$CIRCLE_NODE_INDEX"
|
SUFFIX="-${CIRCLE_BUILD_NUM}-$CIRCLE_NODE_INDEX"
|
||||||
|
|||||||
Reference in new issue
Block a user