Fix usage of setUpClass method in functional tests
Class method 'setUpClass' is executed for each test of test suite that
appeared in new thread. It leads to creation of redundant resources,
and, hence, waste of resources.
So, add 'group_regex' option in testr config that will make all tests
of each class run in one thread.
Change-Id: I8100a98961791cee52b0866c7d593cc8371b3329
Closes-Bug: #1509460
(cherry picked from commit 7962533b94ae4abf48b3bdbc65564e7c1d6e6c7f)
Reviewed: https:/ /review. openstack. org/239526 /git.openstack. org/cgit/ openstack/ python- manilaclient/ commit/ ?id=dc692573091 a2cc56e11b82cc2 c293302c60fd43
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit dc692573091a2cc 56e11b82cc2c293 302c60fd43
Author: Valeriy Ponomaryov <email address hidden>
Date: Mon Oct 26 15:02:07 2015 +0200
Fix usage of setUpClass method in functional tests
Class method 'setUpClass' is executed for each test of test suite that
appeared in new thread. It leads to creation of redundant resources,
and, hence, waste of resources.
So, add 'group_regex' option in testr config that will make all tests
of each class run in one thread.
Change-Id: I8100a98961791c ee52b0866c7d593 cc8371b3329 f48b3bdbc65564e 7c1d6e6c7f)
Closes-Bug: #1509460
(cherry picked from commit 7962533b94ae4ab