Skip to content

Fix a flaky test in MonoTest #2635

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

Merged
merged 1 commit into from
Apr 8, 2021
Merged

Conversation

dkhalanskyjb
Copy link
Collaborator

@dkhalanskyjb dkhalanskyjb commented Apr 7, 2021

This change's gist is that mono is being run in the unconfined dispatcher and not in the default one. There were all sorts of nasty races due to mono being passed to the default workers, while here, everything seems deterministic.

@dkhalanskyjb dkhalanskyjb force-pushed the fix-mono-test-breaking branch 7 times, most recently from 6c6229a to 7c74d4d Compare April 7, 2021 20:22
@dkhalanskyjb dkhalanskyjb requested a review from qwwdfsad April 7, 2021 20:25
@dkhalanskyjb dkhalanskyjb force-pushed the fix-mono-test-breaking branch from 7c74d4d to 0be54f7 Compare April 8, 2021 07:42
@qwwdfsad qwwdfsad marked this pull request as ready for review April 8, 2021 12:28
@dkhalanskyjb dkhalanskyjb merged commit 80862a5 into develop Apr 8, 2021
@dkhalanskyjb dkhalanskyjb deleted the fix-mono-test-breaking branch April 8, 2021 12:34
pablobaxter pushed a commit to pablobaxter/kotlinx.coroutines that referenced this pull request Sep 14, 2022
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

Successfully merging this pull request may close these issues.

2 participants