-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add Unit tests for Concurrency in ImageComposeScene #1396
Add Unit tests for Concurrency in ImageComposeScene #1396
Comments
After JetBrains/compose-multiplatform-core#199 the first test is still failing with:
The second test isn't a valid test for the current implementation of |
I'm seeing this while running lots of tests in parallel as well. We're using this for more than tests. We're using this for server side rendering of images, and because of this I'm scared to allow rendering of more than one image at a time. |
Using a mutex seems to work as a workaround for the time being:
|
Reopened as
was succeeding just because
will print
|
The reason for the above failure is a race condition in |
Currently blocking concurrent use of |
A couple of unit tests that we should probably add to our test suite to ensure we don't regress concurrency.
The unit tests are currently failing... possibly because of #1392
but I'm not positive because one of the stack traces I saw when running this lead me to believe that it might be unrelated. We might know more after #1392 is fixed, and either way, we should ensure these tests are also passing and don't regress.
The text was updated successfully, but these errors were encountered: