mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-26 06:52:57 +08:00
* test(cli): pick forward test ports below the ephemeral range The forward tests released an OS-assigned port before the CLI bound it, so a concurrent test's bind to port 0 could claim it. Pick ports below the Linux and macOS ephemeral ranges from a random offset instead. Closes #4569 Signed-off-by: Matthew Grossman <mgrossman@nvidia.com> * test(cli): retry forward tests when another process takes the port Replace the fixed port range with a retry. The CLI checks a forward port before binding it, so a concurrent test can claim it in between; on that error, pick a new OS-assigned port and run the forward again. Refs #4569 Signed-off-by: Matthew Grossman <mgrossman@nvidia.com> --------- Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>