From 4d5061c3e30104de8cfb1c73d043e0416bf03040 Mon Sep 17 00:00:00 2001 From: Dougal Matthews Date: Tue, 7 Mar 2017 15:00:40 +0000 Subject: [PATCH] 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 --- .testr.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/.testr.conf b/.testr.conf index bb49f15d4..ed0237d16 100644 --- a/.testr.conf +++ b/.testr.conf @@ -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}