You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The second attempt succeeded just fine, but still shows a deprecation warning, which is likely related to the issue:
/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=1909) is multi-threaded, use of fork() may lead to deadlocks in the child.
self.pid = os.fork()
To Reproduce
Run test_should_execute_pipeline_return_valid_placeholder repeatedly
Eventually, the process gets stuck in wait_for_messages.
Expected behavior
Tests should always run through. As an extra safeguard, we might want to limit the runtime of some "dangerous" tests and fail them after x seconds. This can be done using pytest-timeout.
Closes#18
### Summary of Changes
- use spawn instead of fork to not deadlock when running tests
---------
Co-authored-by: megalinter-bot <129584137+megalinter-bot@users.noreply.github.com>
Describe the bug
I had to cancel this test run (Python 3.12) after 5 minutes:
The second attempt succeeded just fine, but still shows a deprecation warning, which is likely related to the issue:
To Reproduce
test_should_execute_pipeline_return_valid_placeholder
repeatedlywait_for_messages
.Expected behavior
Tests should always run through. As an extra safeguard, we might want to limit the runtime of some "dangerous" tests and fail them after x seconds. This can be done using
pytest-timeout
.Screenshots (optional)
No response
Additional Context (optional)
This issue also occurred in this run.
The text was updated successfully, but these errors were encountered: