python310Packages.zigpy-znp: Remove xdist, rerun failed tests

Clean out disabled tests, remove xdist because on aarch64-linux I could
see racy tests that were run on an already closed event loop.

Then there was some flakyness, for which rerunfailures made sense to
use, ultimately making the test suite more stable.
This commit is contained in:
Martin Weinelt 2023-06-08 13:53:02 +02:00
parent 67b191adcb
commit 6b40b65cca
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -6,8 +6,8 @@
, jsonschema
, pytest-asyncio
, pytest-mock
, pytest-rerunfailures
, pytest-timeout
, pytest-xdist
, pytestCheckHook
, pythonOlder
, voluptuous
@ -44,20 +44,13 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytest-asyncio
pytest-mock
pytest-rerunfailures
pytest-timeout
pytest-xdist
pytestCheckHook
];
disabledTests = [
# https://github.com/zigpy/zigpy-znp/issues/209
"test_join_device"
"test_permit_join"
"test_request_recovery_route_rediscovery_af"
"test_request_recovery_route_rediscovery_zdo"
"test_zigpy_request"
"test_zigpy_request_failure"
"test_mgmt_nwk_update_req"
pytestFlagsArray = [
"--reruns=3"
];
pythonImportsCheck = [