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 <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-06-05 12:32:53 -07:00
parent 7fe5525c29
commit 35f17cb549

View File

@ -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);
}