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>
(cherry picked from commit 8c7def7074
)
This commit is contained in:
parent
9ab06a73d2
commit
4981c83efd
|
@ -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