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

Allow to change port for tests #87

Open
CyberTailor opened this issue Jul 14, 2023 · 1 comment
Open

Allow to change port for tests #87

CyberTailor opened this issue Jul 14, 2023 · 1 comment

Comments

@CyberTailor
Copy link

When port 8080 is busy, tests fail.
https://bugs.gentoo.org/901143

@victormihalache
Copy link

You can use the following run method to specify a custom port:

run(onRequest, initSettings(port=Port(2000)))

Note that it's normal behaviour for it to fail when the port is busy, any program will fail to use a port that's being used by another program.

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