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:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user