mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
tests/nbd: Remove bogus sleep
This is no longer needed since qemu-nbd now supports pidfiles
Fixes: commit 1eb055bd46
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user