selftests/unit/test_utils_cloudinit.py: not require sequential ports
The network utility used to (attempt to) get a free port defaults to
picking sequential ports. But, that's not a requirement of this test.
When running tests in parallel, the same port may get allocated when a
sequential approach is used, and that is greatly minimized when random
ports are requested.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
Showing
想要评论请 注册 或 登录