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
If one runs pytest -n auto tests --snapshot-update then one thread will overwrite the results of another thread in the same snapshot file or directory.
To reproduce
Steps to reproduce the behavior:
Run your test suite with multiple threads enabled with the snapshot update flag
Rerun your test suite without the snapshot update flag
Observe error around missing snapshot entries
Expected behavior
Snapshot writing should either be thread safe or a warning should be present or documented.
Environment (please complete the following information):
OS: Ubuntu
Syrupy Version: 1.4.6
Python Version: 3.9.1
The text was updated successfully, but these errors were encountered:
Describe the bug
If one runs
pytest -n auto tests --snapshot-update
then one thread will overwrite the results of another thread in the same snapshot file or directory.To reproduce
Steps to reproduce the behavior:
Expected behavior
Snapshot writing should either be thread safe or a warning should be present or documented.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: