From ca43bec43ea108d94a39f7602f61e87215a58668 Mon Sep 17 00:00:00 2001 From: Chris Dent Date: Mon, 2 Jan 2017 14:15:45 +0000 Subject: [PATCH] Adjust testr group_regex to not group on 'prefix' The previous regex meant that all the prefix tests were running in their own group of >400 tests. The new regex speads them out but keeps the desired-per YAML file grouping. In a sufficiently concurrent setting things speeds things up nicely. Change-Id: I64a61b49e230e92bd91c950c63843e5ad7712030 --- .testr.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.testr.conf b/.testr.conf index cafb2f6e3..c274843c2 100644 --- a/.testr.conf +++ b/.testr.conf @@ -2,4 +2,4 @@ test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} ${PYTHON:-python} -m subunit.run discover -t . ${OS_TEST_PATH:-gnocchi/tests} $LISTOPT $IDOPTION test_id_option=--load-list $IDFILE test_list_option=--list -group_regex=(gabbi\.(suitemaker|driver)\.test_gabbi_([^_]+))_ +group_regex=(gabbi\.suitemaker\.test_gabbi((_prefix_|_live_|_)([^_]+)))_