From de3f4a873c78d45e5397dd52aa4197777cbe45ab Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 28 Mar 2018 19:20:29 -0700 Subject: [PATCH] Sleep a bit less in notification tests (to fix KDE postinst) In F28 tests, the notification 'counter' thing that we rely on to check there's only *one* notification seems to suddenly disappear...right around 10 minutes after the desktop starts up, which is just how long our test idles for to catch crashes that happen a little after boot. That causes test fails. Let's try just cutting the wait down to 8 minutes to see if that helps. Signed-off-by: Adam Williamson --- tests/desktop_notifications.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/desktop_notifications.pm b/tests/desktop_notifications.pm index 37cc9f2c..dfcf3401 100644 --- a/tests/desktop_notifications.pm +++ b/tests/desktop_notifications.pm @@ -69,7 +69,7 @@ sub run { # now, WE WAIT. this is just an unconditional wait - rather than # breaking if we see an update notification appear - so we catch # things that crash a few minutes after startup, etc. - for my $n (1..20) { + for my $n (1..16) { sleep 30; mouse_set 10, 10; mouse_hide;