Allow users to set the test run concurrency

It will default to 0, which means testr will automatically set it based
on your CPU count. Allowing the user to set it with an environment
variable lets them control the resources used and more easily debug any
issues with tests impacting each other (by disabling concurrency).

Change-Id: Ib8274d307991ac3c25180609cb015894f0bf52b3
This commit is contained in:
Dougal Matthews 2017-03-07 15:00:40 +00:00
parent 3af9a36104
commit 4d5061c3e3

View File

@ -7,3 +7,4 @@ test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
test_id_option=--load-list $IDFILE
test_list_option=--list
test_run_concurrency=echo ${TEST_RUN_CONCURRENCY:-0}