-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Fix multiprocessing testcase #7743
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
Conversation
Need to force context re-creating inside testcase otherwise runtime exception raises:
```
def set_start_method(self, method, force=False):
if self._actual_context is not None and not force:
> raise RuntimeError('context has already been set')
E RuntimeError: context has already been set
```
Signed-off-by: Artem Kuzmitckii <[email protected]>
Signed-off-by: Artem Kuzmitckii <[email protected]>
|
@sfc-gh-truwase please have a look |
sure, on my side it’s consistently reproducible. |
|
hi @sfc-gh-truwase please approve if no objections |
Need to force context re-creating inside testcase otherwise runtime exception raises:
Command for verification:
pytest -v tests/unit/runtime/test_ds_initialize.py