Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

shards is limited to 3 #2315

Open
1 task done
yigbn opened this issue Feb 16, 2025 · 2 comments
Open
1 task done

shards is limited to 3 #2315

yigbn opened this issue Feb 16, 2025 · 2 comments

Comments

@yigbn
Copy link

yigbn commented Feb 16, 2025

Is there an existing issue for this?

  • I have searched the existing issues and didn't find mine.

Steps to reproduce

#1844 is great and enable parallelism
but for some reason it's not working for more than 3 tests ! ( why this 3 magic number ?)

Actual results

running more than 3 flows in parallel results in element not found on one of them ( android ) or flow stuck ( in ios )

Expected results

much more than 3 flows can run in parallel

About app

cross-platform app

About environment

mac

Logs

Logs
<!-- Replace this line with your logs. *DO NOT* remove the backticks! -->

Maestro version

1.39.9

How did you install Maestro?

install script (https://get.maestro.mobile.dev)

Anything else?

No response

Copy link

linear bot commented Feb 16, 2025

@Fishbowler
Copy link
Contributor

I've run successfully with 4, but not 5. Maximum shards is broadly a function of machine performance - Maestro is chatty, and each new shard adds load in terms of memory and cpu for both the runner and the target emulator, plus the extra load on the ADB interface.

I imagine if you were to create remote ADB connections to shards (rather than running emulators locally) you'd get different results too.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants