Re: [PATCH tck 2/6] nwfilter startup and shutdown delay

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 05, 2015 at 05:18:39PM -0600, Mike Latimer wrote:
> When using larger test domains, additional time is required to ensure the
> domain is fully started and ready for the nwfilter tests. These same domains
> can also required a longer time to gracefully shutdown. This patch increases
> both timeouts, and modifies 220-no-ip-spoofing.t to match the startup changes
> introduced in libvirt-tck commit 83ef279c.
> 
> Signed-off-by: Mike Latimer <mlatimer@xxxxxxxx>

IIRC, the main thing these tests all need is existance of SSH server,
so rather than having a fixed sleep, can we just poll on connect()
on the ssh port until we see that it is open. That way we sleep the
minimum required time.


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]