mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-26 04:30:58 +00:00
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:
parent
7fe5525c29
commit
35f17cb549
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue