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.
Reviewed: https:/ /review. openstack. org/239428 /git.openstack. org/cgit/ openstack/ python- manilaclient/ commit/ ?id=7962533b94a e4abf48b3bdbc65 564e7c1d6e6c7f
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7962533b94ae4ab f48b3bdbc65564e 7c1d6e6c7f
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
Closes-Bug: #1509460