Skip to content
Snippets Groups Projects
Commit 56e9a9c4 authored by Dmitry Rodionov's avatar Dmitry Rodionov
Browse files

rework free port detection in tests

The patch changes how ports are assigned to nodes started in tests.
Previously port range was given to any xdist worker and each test chose
ports from the beginning of the range which can lead to conflicts. So
with the patch tests can no longer have interleaving port ranges.

Additionally ports were previously checked but the check was failing the
whole test in case of a failure. With the patch occupied ports are
skipped instead.

The patch also fixes a source of flakiness in PluginReflection
PluginReflection
parent 70c0db06
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment