virgl/ci: Wait a bit before shutting the VM down
Sometimes, the VM powered off before all the output from the guest got to the console. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12196>
This commit is contained in:
parent
716ba29056
commit
a9f9e488f8
|
@ -18,6 +18,8 @@ if sh $CROSVM_TEST_SCRIPT; then
|
|||
touch /results/success
|
||||
fi
|
||||
|
||||
sleep 5 # Leave some time to get the last output flushed out
|
||||
|
||||
poweroff -d -n -f || true
|
||||
|
||||
sleep 10 # Just in case init would exit before the kernel shuts down the VM
|
||||
|
|
Loading…
Reference in New Issue