Add .stestr.conf to fix tox-py27 stable job
NOTE(elod.illes): This is a squash of two commit, but only .stestr.conf and .gitignore is used from them. os-testr 1.0.0 was introduced [1] on stable/pike, which causes tox-py27 job failure. The root cause of the problem is a bug, which has a fix[2] but not part of os-testr 1.0.0 release. [1] https://review.openstack.org/#/c/563394/ [2] https://review.openstack.org/#/c/503877/ The first commit's message is: The os-testr 1.0.0 release had a couple of required config changes due to it's internal usage of stestr. This change to stestr changed the way tests were discovered by os-testr and as a result the unit test run was picking up tempest tests. NOTE(elod.illes): This is only taking one specific fix from the large change on master since we don't need the other changes for stable/pike to fix the gate. (cherry picked from commit9ec134996a
) This is the 2nd commit message: Migrating from ostestr to stestr is also done while updating tox.ini. Here is the ML post for more information about os-testr and stestr: http://lists.openstack.org/pipermail/openstack-dev/2017-September/122135.html Partially implements: blueprint trove-python3 Signed-off-by: Zhao Chao <zhaochao1984@gmail.com> NOTE(elod.illes): Here also taken only one small specific fix from this given change since we don't need the other changes for stable/pike to fix the gate. (cherry picked from commit8ce9d735d2
) Change-Id: I77b9f126ae5d500ff7fc7252b9acfed1c21f7db4
This commit is contained in:
parent
c3b1546b95
commit
b1586ae9a5
|
@ -22,6 +22,7 @@ ChangeLog
|
|||
trove.iml
|
||||
.testrepository
|
||||
.pid
|
||||
.stestr/
|
||||
|
||||
# Sphinx
|
||||
doc/build/*
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
[DEFAULT]
|
||||
test_path=${OS_TEST_PATH:-./trove/tests/unittests}
|
||||
top_dir=./
|
Loading…
Reference in New Issue