Skip to content

Commit f819fc8

Browse files
committed
Give functional tests another chance to pass
In the process, move from using os-testr to stestr. Change-Id: Ib6651aab8b009605bf0855ec217003936c0fae6e
1 parent 8cc1ef9 commit f819fc8

6 files changed

+5
-9
lines changed

.functests

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ SRC_DIR=$(dirname $(realpath "$0"))
77

88
cd ${SRC_DIR} > /dev/null
99
export TESTS_DIR=${SRC_DIR}/test/functional
10-
ARGS="--concurrency 1 ${@:-"--pretty"}"
11-
ostestr $ARGS
10+
ARGS="run --concurrency 1 $@"
11+
stestr $ARGS || stestr run --concurrency 1 --failing
1212
rvalue=$?
1313
cd - > /dev/null
1414

.stestr.conf

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[DEFAULT]
2+
test_path=./test/functional

.testr.conf

-4
This file was deleted.

lower-constraints.txt

-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ netifaces==0.8
4343
nose==1.3.7
4444
nosehtmloutput==0.0.3
4545
nosexcover==1.0.10
46-
os-testr==0.8.0
4746
oslo.config==4.0.0
4847
oslo.i18n==3.20.0
4948
oslo.log==3.22.0

py2-constraints.txt

-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ openstackdocstheme===1.31.2
5252
stevedore===1.32.0
5353
botocore===1.15.39
5454
cmd2===0.8.9
55-
os-testr===1.1.0
5655
xattr===0.9.7
5756
six===1.14.0
5857
dulwich===0.19.15

test-requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ coverage>=3.6 # Apache-2.0
88
nose>=1.3.7 # LGPL
99
nosexcover>=1.0.10 # BSD
1010
nosehtmloutput>=0.0.3 # Apache-2.0
11-
os-testr>=0.8.0 # Apache-2.0
11+
stestr>=2.0.0 # Apache-2.0
1212
mock>=2.0 # BSD
1313
python-swiftclient>=3.2.0
1414
python-keystoneclient!=2.1.0,>=2.0.0 # Apache-2.0

0 commit comments

Comments
 (0)