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

Tests fail with the iOS simulator #224

Open
twittemb opened this issue Oct 21, 2022 · 1 comment
Open

Tests fail with the iOS simulator #224

twittemb opened this issue Oct 21, 2022 · 1 comment
Labels
testing Improvements about testing infrastructure or coverage. v1.0 Work leading up first API stable version
Milestone

Comments

@twittemb
Copy link
Contributor

The unit tests fail when being run on the iOS simulator. I think we already had this conversation and it might be related to the fact that the iOS simulator cannot spawn concurrent tasks because of the numbers of core.

@phausler As you are planning a v1.0 soon, I was wondering if we should make sure the tests are OK (if this is even possible) on every platform ?

@phausler phausler added this to the 1.0 milestone Oct 21, 2022
@phausler phausler added testing Improvements about testing infrastructure or coverage. v1.0 Work leading up first API stable version labels Oct 21, 2022
@FranzBusch
Copy link
Member

The iOS simulator can spawn concurrent tasks but it is limited to a cooperative pool size of 1 as far as I am aware. This surfaces some issues where code is assuming that stuff is run in parallel. We should definitely check the code paths that hit this and fix them up because Swift Concurrency expects forward progress on any active task and if that is not possible the task should suspend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Improvements about testing infrastructure or coverage. v1.0 Work leading up first API stable version
Projects
None yet
Development

No branches or pull requests

3 participants