autotest/virt-test — pull request #112 by ldoktor (2012-11-27 14:04:04+00:00)
Title: virtio_console: interrupted_transfer test tweak

hibernate test on powerful machines failes very often. It is due to
short timeouts. To fix it I changed the check logic. Acceptable loss
is set to (almost) infinity. On the other hand it's set to 0 when
the initial loss after resume is over (at least 100 chars transferred
without any error).

Additionally I needed to increase the guest_exit timeout to 20s as it
usually takes 10 - 11s to cleanup the guest script after this test.

Signed-off-by: Lukáš Doktor