summaryrefslogtreecommitdiff
path: root/test/system/500-networking.bats
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-07-20 05:04:35 -0400
committerGitHub <noreply@github.com>2021-07-20 05:04:35 -0400
commit36e47768e6b2b2a78b85535695aa9e7bb7f9c3a8 (patch)
tree4cf3da693bc55f14c900a68ac51c40052bdace0a /test/system/500-networking.bats
parentcea2f38e2160a62db122b8d9982e7ec1b5ac8de0 (diff)
parent80e807a1913411b6829a41ef47de285b38e27b66 (diff)
downloadpodman-36e47768e6b2b2a78b85535695aa9e7bb7f9c3a8.tar.gz
podman-36e47768e6b2b2a78b85535695aa9e7bb7f9c3a8.tar.bz2
podman-36e47768e6b2b2a78b85535695aa9e7bb7f9c3a8.zip
Merge pull request #10982 from cevich/fix_listen_flake
Flake Fix: Wait before connecting to container port
Diffstat (limited to 'test/system/500-networking.bats')
-rw-r--r--test/system/500-networking.bats2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/system/500-networking.bats b/test/system/500-networking.bats
index 4feb57807..419d325b0 100644
--- a/test/system/500-networking.bats
+++ b/test/system/500-networking.bats
@@ -139,6 +139,8 @@ load helpers
$IMAGE nc -l -n -v -p $myport
cid="$output"
+ wait_for_port 127.0.0.1 $myport
+
# emit random string, and check it
teststring=$(random_string 30)
echo "$teststring" | nc 127.0.0.1 $myport