home-assistant: disable flaky tests, remove pytest-rerunfailures (#402120)
This commit is contained in:
@@ -515,7 +515,6 @@ python.pkgs.buildPythonApplication rec {
|
||||
pytest-aiohttp
|
||||
pytest-freezer
|
||||
pytest-mock
|
||||
pytest-rerunfailures
|
||||
pytest-socket
|
||||
pytest-timeout
|
||||
pytest-unordered
|
||||
@@ -540,15 +539,16 @@ python.pkgs.buildPythonApplication rec {
|
||||
pytestFlagsArray = [
|
||||
# assign tests grouped by file to workers
|
||||
"--dist loadfile"
|
||||
# retry racy tests that end in "RuntimeError: Event loop is closed"
|
||||
"--reruns 3"
|
||||
"--only-rerun RuntimeError"
|
||||
# enable full variable printing on error
|
||||
"--showlocals"
|
||||
# AssertionError: assert 1 == 0
|
||||
"--deselect tests/test_config.py::test_merge"
|
||||
# checks whether pip is installed
|
||||
"--deselect=tests/util/test_package.py::test_check_package_fragment"
|
||||
# flaky
|
||||
"--deselect=tests/test_bootstrap.py::test_setup_hass_takes_longer_than_log_slow_startup"
|
||||
"--deselect=tests/test_test_fixtures.py::test_evict_faked_translations"
|
||||
"--deselect=tests/helpers/test_backup.py::test_async_get_manager"
|
||||
# tests are located in tests/
|
||||
"tests"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user