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

Implement dynamic port selection for all platforms #2527

Draft
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

piotruela
Copy link
Collaborator

This pull request changes the way selecting port for PatrolServer and PatrolAppService.

Previously, both were using globally defined default values if no value was passed using test-server-port or app-server-port flag. Now, if any of those flags will be not used, random free port will be used instead.
Instrumentation and app under test will now exchange the information about which port is used. There is no need to define port in environment variables.

PR description will be continued...

One thing that remains unsolved is passing custom test-server-port to patrol build ios command. Needs to find a way to pass a value to instrumentation app while building the test runner

Copy link

docs-page bot commented Feb 16, 2025

To view this pull requests documentation preview, visit the following URL:

docs.page/leancodepl/patrol~2527

Documentation is deployed and generated using docs.page.

@github-actions github-actions bot added package: patrol Related to the patrol package (native automation, test bundling) package: patrol_cli Related to the patrol_cli package labels Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: patrol_cli Related to the patrol_cli package package: patrol Related to the patrol package (native automation, test bundling)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants