3
0
Fork 0
forked from mirrors/nixpkgs

python310Packages.oslo-concurrency: disable tests

This commit is contained in:
Sandro Jäckel 2022-11-08 02:32:40 +01:00
parent 5ff52d0441
commit 034d8b4e52
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -45,6 +45,9 @@ buildPythonPackage rec {
pbr
];
# tests hang for unknown reason and time the build out
doCheck = false;
checkInputs = [
eventlet
fixtures
@ -57,7 +60,10 @@ buildPythonPackage rec {
export NIX_REDIRECTS=/etc/protocols=${iana-etc}/etc/protocols:/etc/resolv.conf=$(realpath resolv.conf)
export LD_PRELOAD=${libredirect}/lib/libredirect.so
stestr run
stestr run -e <(echo "
oslo_concurrency.tests.unit.test_lockutils_eventlet.TestInternalLock.test_fair_lock_with_spawn
oslo_concurrency.tests.unit.test_lockutils_eventlet.TestInternalLock.test_fair_lock_with_spawn_n
")
'';
pythonImportsCheck = [ "oslo_concurrency" ];