Fix reasons for failing unit tests (e.g., see here) when running using pytest-random and pytest-xdist (this is what we do at night for the scheduled unit test: run them 10 times in random order).
The bug was that the warning was issued at the wrong level.
Tested this locally with
pytest -n auto --count 1000 --no-cov tests/unit_tests/db/test_db_handler.py::test_get_all_versions
Fix reasons for failing unit tests (e.g., see here) when running using pytest-random and pytest-xdist (this is what we do at night for the scheduled unit test: run them 10 times in random order).
The bug was that the warning was issued at the wrong level.
Tested this locally with