summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElod Illes <elod.illes@ericsson.com>2018-05-15 11:21:49 +0200
committerElod Illes <elod.illes@ericsson.com>2018-05-15 15:18:36 +0200
commitb1586ae9a53fab4bc9d2e5327595ad84ae359628 (patch)
treefbb02d2dd02694308be113be3f97601a2ad6c73b
parentc3b1546b95792a54f1e05feb4a94cac3415c1786 (diff)
Add .stestr.conf to fix tox-py27 stable jobstable/pike
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 commit 9ec134996a1162de0d74ef915dc138bbacbcfdf1) 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 commit 8ce9d735d25d209a747b8f29c614236b74f95591) Change-Id: I77b9f126ae5d500ff7fc7252b9acfed1c21f7db4
Notes
Notes (review): Code-Review+1: jian.song <jian.song@easystack.cn> Code-Review+1: Zhao Chao <zhaochao1984@gmail.com> Code-Review+2: Matt Riedemann <mriedem.os@gmail.com> Code-Review+2: Sean McGinnis <sean.mcginnis@gmail.com> Workflow+1: Sean McGinnis <sean.mcginnis@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 18 Jun 2018 13:45:22 +0000 Reviewed-on: https://review.openstack.org/567294 Project: openstack/trove Branch: refs/heads/stable/pike
-rw-r--r--.gitignore1
-rw-r--r--.stestr.conf3
2 files changed, 4 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 30a01af..941aebd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,6 +22,7 @@ ChangeLog
22trove.iml 22trove.iml
23.testrepository 23.testrepository
24.pid 24.pid
25.stestr/
25 26
26# Sphinx 27# Sphinx
27doc/build/* 28doc/build/*
diff --git a/.stestr.conf b/.stestr.conf
new file mode 100644
index 0000000..6d13b42
--- /dev/null
+++ b/.stestr.conf
@@ -0,0 +1,3 @@
1[DEFAULT]
2test_path=${OS_TEST_PATH:-./trove/tests/unittests}
3top_dir=./