-
Notifications
You must be signed in to change notification settings - Fork 12
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
Create a helper to find a free TCP port #71
Labels
code health
Improve code readability, simplify maintenance and so on
Comments
We have the long standing issue (races) due to the check-free-port-and-use-it approach in test-run, see tarantool/test-run#141. I suggest to at least try to implement binding to a zero port. |
Totktonada
added
the
code health
Improve code readability, simplify maintenance and so on
label
Jun 2, 2022
GRISHNOV
added a commit
that referenced
this issue
Aug 9, 2022
Added free port auto resolve mechanism for integration tests, which require the running of a tarantool instance. Also added mechanism for guaranteed instances termination after integration testing. Closes #71
GRISHNOV
added a commit
that referenced
this issue
Aug 9, 2022
Added free port auto resolve mechanism for integration tests, which require the running of a tarantool instance. Also added mechanism for guaranteed instances termination after integration testing. Closes #71
GRISHNOV
added a commit
that referenced
this issue
Aug 10, 2022
Added free port auto resolve mechanism for integration tests, which require the running of a tarantool instance. Also added mechanism for guaranteed instances termination after integration testing. Closes #71
GRISHNOV
added a commit
that referenced
this issue
Sep 15, 2022
Added free port auto resolve mechanism for integration tests, which require the running of a tarantool instance. Closes #71
GRISHNOV
added a commit
that referenced
this issue
Sep 15, 2022
Added mechanism for guaranteed instances termination after integration testing. Part of #71
GRISHNOV
added a commit
that referenced
this issue
Sep 15, 2022
Added free port auto resolve mechanism for integration tests, which require the running of a tarantool instance. Closes #71
GRISHNOV
added a commit
that referenced
this issue
Sep 15, 2022
Added mechanism for guaranteed instances termination after integration testing. Part of #71
GRISHNOV
added a commit
that referenced
this issue
Sep 15, 2022
Added free port auto resolve mechanism for integration tests, which require the running of a tarantool instance. Closes #71
GRISHNOV
added a commit
that referenced
this issue
Sep 15, 2022
Added mechanism for guaranteed instances termination after integration testing. Part of #71
GRISHNOV
added a commit
that referenced
this issue
Oct 5, 2022
Added free port auto resolve mechanism for integration tests, which require the running of a tarantool instance. Closes #71
GRISHNOV
added a commit
that referenced
this issue
Oct 5, 2022
Added mechanism for guaranteed instances termination after integration testing. Part of #71
GRISHNOV
added a commit
that referenced
this issue
Oct 5, 2022
Added mechanism for guaranteed instances termination after integration testing. Part of #71
GRISHNOV
added a commit
that referenced
this issue
Oct 5, 2022
Added mechanism for guaranteed instances termination after integration testing. Part of #71
GRISHNOV
added a commit
that referenced
this issue
Oct 5, 2022
Added free port auto resolve mechanism for integration tests, which require the running of a tarantool instance. Closes #71
GRISHNOV
added a commit
that referenced
this issue
Oct 5, 2022
Added mechanism for guaranteed instances termination after integration testing. Part of #71
GRISHNOV
added a commit
that referenced
this issue
Oct 6, 2022
Added free port auto resolve mechanism for integration tests, which require the running of a tarantool instance. Closes #71
GRISHNOV
added a commit
that referenced
this issue
Oct 6, 2022
Added mechanism for guaranteed instances termination after integration testing. Part of #71
GRISHNOV
added a commit
that referenced
this issue
Oct 6, 2022
Added free port auto resolve mechanism for integration tests, which require the running of a tarantool instance. Closes #71
GRISHNOV
added a commit
that referenced
this issue
Oct 6, 2022
Added mechanism for guaranteed instances termination after integration testing. Part of #71
GRISHNOV
added a commit
that referenced
this issue
Oct 7, 2022
Added free port auto resolve mechanism for integration tests, which require the running of a tarantool instance. Closes #71
GRISHNOV
added a commit
that referenced
this issue
Oct 7, 2022
Added mechanism for guaranteed instances termination after integration testing. Part of #71
GRISHNOV
added a commit
that referenced
this issue
Oct 7, 2022
Added mechanism for guaranteed instances termination after integration testing. Part of #71
GRISHNOV
added a commit
that referenced
this issue
Oct 7, 2022
Added free port auto resolve mechanism for integration tests, which require the running of a tarantool instance. Closes #71
GRISHNOV
added a commit
that referenced
this issue
Oct 7, 2022
Added mechanism for guaranteed instances termination after integration testing. Part of #71
GRISHNOV
added a commit
that referenced
this issue
Oct 10, 2022
Added free port auto resolve mechanism for integration tests, which require the running of a tarantool instance. Closes #71
GRISHNOV
added a commit
that referenced
this issue
Oct 10, 2022
Added mechanism for guaranteed instances termination after integration testing. Part of #71
GRISHNOV
added a commit
that referenced
this issue
Oct 12, 2022
Added free port auto resolve mechanism for integration tests, which require the running of a tarantool instance. Closes #71
GRISHNOV
added a commit
that referenced
this issue
Oct 12, 2022
Added mechanism for guaranteed instances termination after integration testing. Part of #71
GRISHNOV
added a commit
that referenced
this issue
Oct 13, 2022
Added free port auto resolve mechanism for integration tests, which require the running of a tarantool instance. Closes #71
GRISHNOV
added a commit
that referenced
this issue
Oct 13, 2022
Added mechanism for guaranteed instances termination after integration testing. Part of #71
GRISHNOV
added a commit
that referenced
this issue
Oct 13, 2022
Added free port auto resolve mechanism for integration tests, which require the running of a tarantool instance. Closes #71
GRISHNOV
added a commit
that referenced
this issue
Oct 13, 2022
Added mechanism for guaranteed instances termination after integration testing. Part of #71
GRISHNOV
added a commit
that referenced
this issue
Oct 17, 2022
Added free port auto resolve mechanism for integration tests, which require the running of a tarantool instance. Closes #71
GRISHNOV
added a commit
that referenced
this issue
Oct 17, 2022
Added mechanism for guaranteed instances termination after integration testing. Part of #71
LeonidVas
pushed a commit
that referenced
this issue
Oct 18, 2022
Added free port auto resolve mechanism for integration tests, which require the running of a tarantool instance. Closes #71
LeonidVas
pushed a commit
that referenced
this issue
Oct 18, 2022
Added mechanism for guaranteed instances termination after integration testing. Part of #71
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In integration tests we have hardcoded ports:
Example
This can cause tests to fail:
It is proposed to create a helper that looks for a free TCP port. This will greatly reduce the chance of falsely failed tests.
The text was updated successfully, but these errors were encountered: