Skip UT in python-keystoneclient build
The python-keystoneclient unit test code uses a token expiry of Jan 1, 2020, which causes a failure as of that date. Skip running the tests as part of the build to avoid this issue. Change-Id: I85e780c6f40beb19d1527282f30b38879ccfc512 Closes-Bug: 1858049 Signed-off-by: Don Penney <don.penney@windriver.com>
This commit is contained in:
parent
9765445751
commit
8c7def7074
@ -213,11 +213,11 @@ rm -fr doc/build/html/.{doctrees,buildinfo}
|
||||
mkdir -p $RPM_BUILD_ROOT/wheels
|
||||
install -m 644 dist/*.whl $RPM_BUILD_ROOT/wheels/
|
||||
|
||||
%check
|
||||
stestr --test-path=./keystoneclient/tests/unit run
|
||||
%if 0%{?with_python3}
|
||||
stestr-3 --test-path=./keystoneclient/tests/unit run
|
||||
%endif
|
||||
#%check
|
||||
#stestr --test-path=./keystoneclient/tests/unit run
|
||||
#%if 0%{?with_python3}
|
||||
#stestr-3 --test-path=./keystoneclient/tests/unit run
|
||||
#%endif
|
||||
|
||||
%files -n python2-keystoneclient
|
||||
%license LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user