python311Packages.celery: use xdist to speed up checkPhase
Before the tests took ~110 sec, now they only take ~19 sec. One tests seems to fail because of that but with subtests we have 30k tests which should verify that things work regardless.
This commit is contained in:
parent
8f5a43ef77
commit
141fcec032
@ -18,6 +18,7 @@
|
||||
, pytest-click
|
||||
, pytest-subtests
|
||||
, pytest-timeout
|
||||
, pytest-xdist
|
||||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, pythonOlder
|
||||
@ -63,6 +64,7 @@ buildPythonPackage rec {
|
||||
pytest-click
|
||||
pytest-subtests
|
||||
pytest-timeout
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
@ -77,6 +79,10 @@ buildPythonPackage rec {
|
||||
disabledTests = [
|
||||
"msgpack"
|
||||
"test_check_privileges_no_fchown"
|
||||
# fails with pytest-xdist
|
||||
"test_itercapture_limit"
|
||||
"test_stamping_headers_in_options"
|
||||
"test_stamping_with_replace"
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
# too many open files on hydra
|
||||
"test_cleanup"
|
||||
|
Loading…
Reference in New Issue
Block a user