[gnome-settings-daemon] power: Add FIXME in test_blank_on_lid_close test



commit 721130f12391de2d5c14963e4ea10bd2ce9eef94
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jan 24 18:04:05 2013 +0100

    power: Add FIXME in test_blank_on_lid_close test

 plugins/power/test.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/plugins/power/test.py b/plugins/power/test.py
index 920f695..176c331 100755
--- a/plugins/power/test.py
+++ b/plugins/power/test.py
@@ -375,7 +375,10 @@ class PowerPluginTest(gsdtestcase.GSDTestCase):
         self.obj_upower.EmitSignal('', 'Changed', '', [], dbus_interface='org.freedesktop.DBus.Mock')
 
         # Check that we've blanked
-        self.check_blank(4)
+        # FIXME: For some reason, gnome-session is taking a long time asking
+        # logind whether it's inhibited, which is blocking our idle_configure() call
+        # thus the screensaver coming on
+        self.check_blank(10)
 
         # Drop the inhibit and see whether we suspend
         self.obj_session_mgr.Uninhibit(dbus.UInt32(inhibit_id))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]