Unverified Commit 163210f8 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

home-assistant: disable flaky tests, remove pytest-rerunfailures (#402120)

parents d401dbf5 3b2cdb87
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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"
  ];