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

[xcode] Disable the tests parallelizing #7919

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

kirylkaveryn
Copy link
Contributor

When you run the tests by default Xcode uses the tests parallelizing. When tests are run in parallel, Xcode spins up multiple clones of the simulator. These simulator windows are named “Clone 1” and so on. This makes sense for slow-running UI tests but not for the fast-running unit tests. It takes longer for Xcode to set up the simulator clones.

This PR disables the tests parallelizing.

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
@kirylkaveryn kirylkaveryn added the iOS iOS development label Apr 15, 2024
Copy link
Member

@biodranik biodranik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It runs faster now, right? What was paralleled before? Did we have several tests?

@biodranik biodranik merged commit da0babe into master Apr 15, 2024
5 checks passed
@biodranik biodranik deleted the ios/xcode-disable-parallel-testing branch April 15, 2024 07:05
@kirylkaveryn
Copy link
Contributor Author

It runs faster now, right? What was paralleled before? Did we have several tests?

For now the new simulator will not be created during the testing on the Xcode (like Simulator copy 1). All tests will be run on the current main simultato which is used fro development.

Its default setting for the newes xcodes but it impacts performance a lot. This feature for the test that can run a lot of time so you can use the main simulator during the testing process. But for us this feature is not very relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iOS iOS development
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants