[gnome-settings-daemon] GSDTestCase: Drop 3s waiting for gnome-session



commit 1889f119278fe3c5137e8f1b6167e43d5a6bec96
Author: Martin Pitt <martinpitt gnome org>
Date:   Thu Jan 24 10:02:19 2013 +0100

    GSDTestCase: Drop 3s waiting for gnome-session
    
    Drop the sleep(3) after gnome-session appears on D-BUS. It should be ready at
    that point; if not that would show a bug.

 tests/gsdtestcase.py |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/tests/gsdtestcase.py b/tests/gsdtestcase.py
index e98b036..de146d0 100644
--- a/tests/gsdtestcase.py
+++ b/tests/gsdtestcase.py
@@ -146,9 +146,6 @@ class GSDTestCase(dbusmock.DBusTestCase):
         klass.obj_session_mgr = klass.session_bus_con.get_object(
             'org.gnome.SessionManager', '/org/gnome/SessionManager')
 
-        # give g-session some time to lazily initialize idle timers, etc.
-        time.sleep(3)
-
     @classmethod
     def stop_session(klass):
         '''Stop GNOME session'''



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