Merge "Altering the > to -gt to check number of processors"
This commit is contained in:
@@ -177,7 +177,7 @@ export DEVSTACK_GATE_KEYSTONE_V3=${DEVSTACK_GATE_KEYSTONE_V3:-0}
|
||||
|
||||
# Set the number of threads to run tempest with
|
||||
DEFAULT_CONCURRENCY=$(nproc)
|
||||
if [ ${DEFAULT_CONCURRENCY} > 3 ] ; then
|
||||
if [ ${DEFAULT_CONCURRENCY} -gt 3 ] ; then
|
||||
DEFAULT_CONCURRENCY=$[${DEFAULT_CONCURRENCY} / 2]
|
||||
fi
|
||||
export TEMPEST_CONCURRENCY=${TEMPEST_CONCURRENCY:-${DEFAULT_CONCURRENCY}}
|
||||
|
||||
Reference in New Issue
Block a user