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

no multiple tunnel option #107

Open
Gordiievskyi opened this issue Jul 10, 2020 · 1 comment
Open

no multiple tunnel option #107

Gordiievskyi opened this issue Jul 10, 2020 · 1 comment

Comments

@Gordiievskyi
Copy link

There is no option to run more than one tunnel, nor in documentation nor in code. But there is mention that one should use --parallel in case of multiple binaries run

Expected Behavior

Either documentation should state how to achieve it( generally aka spawn multiple time in the loop or state how to pass a list of desired tunnels)

Actual Behavior

No available documentation on how to start more then one tunnel from the same host using module

Steps to Reproduce the Problem

1.Open https://github.com/browserstack/browserstack-local-nodejs and look through it.

browserstack local arguments

Platform details

  1. browserstack-local-nodejs version:1.4.5
  2. node version:v12.16.1
  3. os type and version:10.14.6

Details

There is no option to run more than one tunnel, nor in documentation nor in code. But there is mention that one should use --parallel in case of multiple binaries run

@shawnlobo96
Copy link

shawnlobo96 commented Jul 10, 2020

Hey @Gordiievskyi

The --parallel-runs flag is used to specify the number of parallel tests you are running. The binary will then spawn an appropriate number of forks for the binary. This does not start multiple tunnels.

In case you need to start multiple tunnels, you can use the local identifier option which should allow you to spawn multiple binaries. You will need to run multiple node processes with different local identifiers depending upon the number of tunnels you want to create.

https://github.com/browserstack/browserstack-local-nodejs#local-identifier

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

No branches or pull requests

2 participants