Closed theoriginalgri closed 1 year ago
Hi Team... Is there any update on this? Running tests in parallel on local and CI as well will drastically reduce the testing times..
Hi @theoriginalgri We currently don't support parallel running via CLI.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue. Thank you for helping keep us our issue tracker clean!
In our CI, we are trying to run multiple flows on multiple iOS Simulators in parallel. From #859, it looked like this would be possible, so I gave it a try and failed.
Even though starting multiple simulators works and maestro starts the app on each of the simulators, it then suddenly only controls one of them. I guess this is probably due to maestro working on a fixed port which prevents it from running multiple apps in parallel. This can also be seen from the screenshot which shows that all three parallel runs are convinced they swiped while only one of them actually happened (flow fails because of German Simulator).
In addition, random exceptions are happening since probably all instances try to use the same temporary files:
I've attached two shell scripts to reproduce this with the maestro examples.
prepare.sh
:run-maestro.sh
: