tests/nbd: Remove bogus sleep

This is no longer needed since qemu-nbd now supports pidfiles

Fixes: commit 1eb055bd46
(cherry picked from commit a84ff62478)
This commit is contained in:
Richard W.M. Jones
2022-12-02 12:02:49 +00:00
parent 9ad2c361bb
commit f065a05f75

View File

@@ -86,11 +86,6 @@ sub run_test {
}
die "qemu-nbd did not start up\n" if ! -f $pidfile;
# XXX qemu-nbd lacks any way to tell if it is awake and listening
# for connections. It could write a pid file or something. Could
# we check that the socket has been opened by looking in netstat?
sleep (2);
my $g = Sys::Guestfs->new ();
# Add an NBD drive.