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

Prevent tests failing if they can't get access to a port #2137

Closed
appetrosyan opened this issue Apr 22, 2022 · 0 comments
Closed

Prevent tests failing if they can't get access to a port #2137

appetrosyan opened this issue Apr 22, 2022 · 0 comments
Assignees
Labels
iroha2-dev The re-implementation of a BFT hyperledger in RUST Tests

Comments

@appetrosyan
Copy link
Contributor

appetrosyan commented Apr 22, 2022

Our current solution of randomly mapping ports at run-time is not the best, because of how it can fail on restricted systems, but also fails to work corretly on e.g. nextest (#2136).

My preferred solution would be to actively handle the OS error and re-assign the port in case of failure, so that random failed port assignments don't bring down the entire test harness.

@appetrosyan appetrosyan added iroha2-dev The re-implementation of a BFT hyperledger in RUST Tests labels Apr 22, 2022
@appetrosyan appetrosyan self-assigned this May 9, 2022
@appetrosyan appetrosyan added the good first issue Good for newcomers label Jun 1, 2022
ales-tsurko added a commit to ales-tsurko/iroha that referenced this issue Jun 7, 2022
ales-tsurko added a commit to ales-tsurko/iroha that referenced this issue Jun 7, 2022
@appetrosyan appetrosyan removed the good first issue Good for newcomers label Jun 9, 2022
ales-tsurko added a commit to ales-tsurko/iroha that referenced this issue Jun 13, 2022
ales-tsurko added a commit to ales-tsurko/iroha that referenced this issue Jun 15, 2022
ales-tsurko added a commit to ales-tsurko/iroha that referenced this issue Jun 15, 2022
ales-tsurko added a commit to ales-tsurko/iroha that referenced this issue Jun 20, 2022
ales-tsurko added a commit to ales-tsurko/iroha that referenced this issue Jun 20, 2022
ales-tsurko added a commit to ales-tsurko/iroha that referenced this issue Jun 22, 2022
ales-tsurko added a commit to ales-tsurko/iroha that referenced this issue Jun 22, 2022
ales-tsurko added a commit to ales-tsurko/iroha that referenced this issue Jun 22, 2022
ales-tsurko added a commit to ales-tsurko/iroha that referenced this issue Jun 22, 2022
ales-tsurko added a commit to ales-tsurko/iroha that referenced this issue Jun 22, 2022
ales-tsurko added a commit to ales-tsurko/iroha that referenced this issue Jun 22, 2022
ales-tsurko added a commit to ales-tsurko/iroha that referenced this issue Jun 22, 2022
ales-tsurko added a commit to ales-tsurko/iroha that referenced this issue Jun 22, 2022
ales-tsurko added a commit to ales-tsurko/iroha that referenced this issue Jun 24, 2022
BAStos525 pushed a commit to BAStos525/soramitsu-iroha that referenced this issue Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iroha2-dev The re-implementation of a BFT hyperledger in RUST Tests
Projects
None yet
Development

No branches or pull requests

2 participants