Commit Graph

4 Commits

Author SHA1 Message Date
Rodolfo Alonso Hernandez 2ed1280148 [CI] Set the default OS_TEST_PATH in the stestr conf file
Set the default OS_TEST_PATH in the stestr configuration file. Any
other test environment can overwrite this variable in the "setenv"
section.

Change-Id: I51564920cec916031aaebf8151b015a3d87e9471
2023-03-16 15:29:18 +01:00
Terry Wilson 5f108dfa6a Group tests in same class to run in same group
Sometimes the test_connection_reconnect test will interact with
other tests causing a failure. Telling stestr to keep all tests
in a class together in the same process seems to fix this issue.

Change-Id: Ic20b08b7bae2f6b5b8dc3a7607c1e6bf7044b95c
2018-11-20 12:32:29 -06:00
Terry Wilson b494214719 Make it possible to run functional tests again
When running tox -e functional, stestr was running the unit tests.
Changing .stestr.conf to use ${OS_TEST_PATH} seems to fix it. Two
functional tests were not passing when I made this change, so I
fixed those as well so this change wouldn't fail the gate.

Change-Id: I6c4a3ff7a50aca925dca1d7f9cfe83e99fedaa50
2018-07-19 17:37:39 +00:00
Vu Cong Tuan f631143f3c Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I32db99af179412f46b02ced9eaf61049cbffcdb0
2018-07-10 16:23:46 +07:00