[gnome-settings-daemon/benzea/minor-fix-collection: 19/19] xsettings: Increase timeout in xsettings test
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/benzea/minor-fix-collection: 19/19] xsettings: Increase timeout in xsettings test
- Date: Mon, 15 Apr 2019 16:02:16 +0000 (UTC)
commit 0f3b83b9b9e82d39efc410fc17e33f9bedf9a320
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]