From 1ae1b6e2cb64308bfff66f30591e003a64ded093 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 26 Oct 2016 14:03:15 -0700 Subject: [PATCH] wait longer for system to shutdown in _console_shutdown We're not really *testing* shutdown here, we're just shutting down to make sure the uploaded disk image is clean. So we don't really mind if shutdown takes a while. It often seems to take longer than 1 minute on KDE installs and cause a soft fail, so let's bump the timeout to 3 minutes. --- tests/_console_shutdown.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/_console_shutdown.pm b/tests/_console_shutdown.pm index cfd5e4a6..392ba3cb 100644 --- a/tests/_console_shutdown.pm +++ b/tests/_console_shutdown.pm @@ -12,7 +12,7 @@ sub run { # properly testing shutdown/reboot/log out from desktops. $self->root_console(tty=>3); script_run("poweroff", 0); - assert_shutdown; + assert_shutdown 180; } # this is not 'fatal' or 'important' as all wiki test cases are passed