[gnome-settings-daemon/benzea/minor-fix-collection: 9/9] xsettings: Increase timeout in xsettings test



commit 4af47a0b0e39dbbe4144b79e8d7a92b5911fdd2d
Author: Benjamin Berg <bberg redhat com>
Date:   Mon Apr 1 17:53:32 2019 +0200

    xsettings: Increase timeout in xsettings test
    
    It seems that this is causing sporadic failures. Increase the sleep time
    to apply the settings to 2 seconds rather than only waiting one second.

 plugins/xsettings/test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/xsettings/test.py b/plugins/xsettings/test.py
index b939f3ce..274783f4 100755
--- a/plugins/xsettings/test.py
+++ b/plugins/xsettings/test.py
@@ -142,7 +142,7 @@ class XsettingsPluginTest(gsdtestcase.GSDTestCase):
     def test_gtk_modules(self):
         # Turn off event sounds
         self.settings_sound['event-sounds'] = False
-        time.sleep(1)
+        time.sleep(2)
 
         # Verify that only the PackageKit plugin is enabled
         self.assertEqual(self.obj_xsettings_props.Get('org.gtk.Settings', 'Modules'),


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