|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH v5 08/12] tests/acceptance: wait() instead of shutdown() where appropriate |
Date: | Mon, 13 Jul 2020 11:57:10 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
On 7/10/20 7:06 AM, John Snow wrote: > When issuing 'reboot' to a VM with the no-reboot option, that VM will > exit. When then issuing a shutdown command, the cleanup may race. > > Add calls to vm.wait() which will gracefully mark the VM as having > exited. Subsequent vm.shutdown() calls in generic tearDown code will not > race when called after completion of the call. > > Signed-off-by: John Snow <jsnow@redhat.com> > --- > tests/acceptance/boot_linux_console.py | 10 ++++++++++ > tests/acceptance/linux_ssh_mips_malta.py | 2 ++ > 2 files changed, 12 insertions(+) > Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
[Prev in Thread] | Current Thread | [Next in Thread] |