From 35f17cb54962155ce8ba2662f87ec5d3492be00d Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 5 Jun 2020 12:32:53 -0700 Subject: [PATCH] Have podman client test sleep a bit after creating the lock It seems the server can miss it if the client creates it then immediately exits. Signed-off-by: Adam Williamson --- tests/_podman_client.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/_podman_client.pm b/tests/_podman_client.pm index 7be39bcd..12ea630c 100644 --- a/tests/_podman_client.pm +++ b/tests/_podman_client.pm @@ -16,6 +16,8 @@ sub run { # connect to server then tell server we're done my $ret = script_run "curl http://10.0.2.114"; mutex_create "podman_connect_done"; + # sleep a bit to give server time to pick up the mutex + sleep 5; # die if connection failed die "connection failed!" if ($ret); }