From 05bdc729417288c4f536778254b8ee648527257f Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Tue, 25 Oct 2022 12:37:47 -0600 Subject: [PATCH] system tests: podman network create: use random port One test was using a hardcoded fixed port, with a comment referring to #10806. That issue seems fixed, so let's try switching to a pseudorandom open port. Does not actually fix #16289 but I'm going to close that anyway, will reopen if it recurs. Signed-off-by: Ed Santiago --- test/system/500-networking.bats | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/system/500-networking.bats b/test/system/500-networking.bats index 862bc285cf..5ddc89b0dc 100644 --- a/test/system/500-networking.bats +++ b/test/system/500-networking.bats @@ -205,8 +205,7 @@ load helpers # "network create" now works rootless, with the help of a special container @test "podman network create" { - # Deliberately use a fixed port, not random_open_port, because of #10806 - myport=54322 + myport=$(random_free_port) local mynetname=testnet-$(random_string 10) local mysubnet=$(random_rfc1918_subnet)