Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix race conditions in tests for parallelized testing #820

Open
mferrera opened this issue Sep 27, 2024 · 0 comments
Open

Fix race conditions in tests for parallelized testing #820

mferrera opened this issue Sep 27, 2024 · 0 comments

Comments

@mferrera
Copy link
Collaborator

mferrera commented Sep 27, 2024

Currently we cannot reliably use pytest-xdist to parallelize tests because there appear to be race conditions

FAILED tests/test_units/test_dataio.py::test_norwegian_letters_globalconfig_as_json - FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/9_/94pcly3n7x7f29...
FAILED tests/test_units/test_objectdataprovider_class.py::test_regsurf_preprocessed_observation - FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/9_/94pcly3n7x7f29...
FAILED tests/test_units/test_preprocessed.py::test_export_preprocessed_surfacefile - FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/9_/94pcly3n7x7f29...
FAILED tests/test_units/test_preprocessed.py::test_export_to_results_folder - FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/9_/94pcly3n7x7f29...
FAILED tests/test_units/test_rms_context.py::test_regsurf_export_file_set_name - FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/9_/94pcly3n7x7f29...
FAILED tests/test_units/test_rms_context.py::test_grid_export_file_set_name - FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/9_/94pcly3n7x7f29...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant