The GitHub Actions job "Tests" on airflow.git has succeeded. Run started by GitHub user Bisk1 (triggered by Bisk1).
Head commit for run: 4c3b72e50f47b8319b6a17d8df66f57648e1c371 / daniel.dylag <[email protected]> Fix issue with unit tests in subprocesses on Mac When unit tests are run on local virtual env on macOS, a lot of them fail because mocks do not work as expected when they are used in subprocesses. See https://docs.python.org/3/library/multiprocessing.html#contexts-and-start-methods "Changed in version 3.8: On macOS, the spawn start method is now the default (...)". On Unix systems "fork" is the default. When you mock a method with patch() in unittest.mock, this mock will be accessible in subprocess only if the start command was "fork" and not "spawn". I don't know how many tests were affected by it, for me, it was test_scheduler_job.py. Report URL: https://github.com/apache/airflow/actions/runs/6059011036 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
