aboutsummaryrefslogtreecommitdiff
path: root/tests/test-glib-proxy-client.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2013-06-24 22:33:38 +0000
committerTarmac <Unknown>2013-06-24 22:33:38 +0000
commitfce8e9972902240ec36c78f7594fc4f284dfdd11 (patch)
treedabd081ce54c945c8ee6dd2a35a006c30187bd97 /tests/test-glib-proxy-client.c
parent5aa2eee768cbd128dcf52df26a09196b7f1266cf (diff)
parent02af0640883e3540cb4c80c2720711f649b4650f (diff)
downloadlibdbusmenu-fce8e9972902240ec36c78f7594fc4f284dfdd11.tar.gz
libdbusmenu-fce8e9972902240ec36c78f7594fc4f284dfdd11.tar.bz2
libdbusmenu-fce8e9972902240ec36c78f7594fc4f284dfdd11.zip
Increase test timeouts to ensure proper results on slower platforms (ARM).
Approved by PS Jenkins bot.
Diffstat (limited to 'tests/test-glib-proxy-client.c')
-rw-r--r--tests/test-glib-proxy-client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-glib-proxy-client.c b/tests/test-glib-proxy-client.c
index 8f760a2..72468c8 100644
--- a/tests/test-glib-proxy-client.c
+++ b/tests/test-glib-proxy-client.c
@@ -123,7 +123,7 @@ layout_updated (DbusmenuClient * client, gpointer data)
g_source_remove(verify_timer);
}
- verify_timer = g_timeout_add (3000, layout_verify_timer, client);
+ verify_timer = g_timeout_add_seconds (5, layout_verify_timer, client);
return;
}
@@ -143,7 +143,7 @@ layout_verify_timer (gpointer data)
} else {
/* Extend our death */
g_source_remove(death_timer);
- death_timer = g_timeout_add_seconds(4, timer_func, data);
+ death_timer = g_timeout_add_seconds(10, timer_func, data);
}
if (layouts[layouton+1].id == -1) {
@@ -162,7 +162,7 @@ main (int argc, char ** argv)
DbusmenuClient * client = dbusmenu_client_new("test.proxy.first_proxy", "/org/test");
g_signal_connect(G_OBJECT(client), DBUSMENU_CLIENT_SIGNAL_LAYOUT_UPDATED, G_CALLBACK(layout_updated), NULL);
- death_timer = g_timeout_add_seconds(4, timer_func, client);
+ death_timer = g_timeout_add_seconds(10, timer_func, client);
mainloop = g_main_loop_new(NULL, FALSE);
g_main_loop_run(mainloop);