Use devtest_testenv default when building CI TE
Resources allocated to our CI testenvs should match the current default that developers are using. So use the same defaults when building a testenv. This will result in the testenv defining nodes with 2G of memory instead of 4G. Also export NODE_ARCH, without doing this it would be ignored. Change-Id: I1ee2a9ce661822cfca24c407607fa82f479efc16
This commit is contained in:
parent
7e6be550d4
commit
48c51e9783
|
@ -27,7 +27,7 @@ DATAFILE=/etc/test_env_${NUM}.json
|
|||
trap 'rm -f $DATAFILE' ERR
|
||||
LOGFILE=/var/log/testenv-worker_${NUM}.log
|
||||
|
||||
NODE_CPU=1 NODE_MEM=4096 NODE_DISK=30 NODE_ARCH=amd64
|
||||
export NODE_ARCH=amd64
|
||||
export OVERCLOUD_COMPUTESCALE=2 # Creates this + 2 nodes in testenv.
|
||||
devtest_testenv.sh $DATAFILE -n $NUM -b $OVSBRIDGE
|
||||
|
||||
|
|
Loading…
Reference in New Issue