diff options
author | Ted Gould <ted@gould.cx> | 2013-09-09 22:52:49 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-09-09 22:52:49 +0000 |
commit | 9ee26dd8ba9c0f57a114f4e3fa8f292bf37fc4d4 (patch) | |
tree | 661198273b2b134d62a4ae28517d20e3a5c13121 /tests/test-glib-properties-client.c | |
parent | 3bfb7b20c40b956c0379beaab0055cb24bde362f (diff) | |
parent | d523437e665545f76d7676c68f4b5a5f069774c6 (diff) | |
download | libdbusmenu-9ee26dd8ba9c0f57a114f4e3fa8f292bf37fc4d4.tar.gz libdbusmenu-9ee26dd8ba9c0f57a114f4e3fa8f292bf37fc4d4.tar.bz2 libdbusmenu-9ee26dd8ba9c0f57a114f4e3fa8f292bf37fc4d4.zip |
Extend timeouts for busy Jenkins ARM machines.
Approved by PS Jenkins bot, Charles Kerr.
Diffstat (limited to 'tests/test-glib-properties-client.c')
-rw-r--r-- | tests/test-glib-properties-client.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test-glib-properties-client.c b/tests/test-glib-properties-client.c index 3d6aa9d..f77eab6 100644 --- a/tests/test-glib-properties-client.c +++ b/tests/test-glib-properties-client.c @@ -26,6 +26,8 @@ with this program. If not, see <http://www.gnu.org/licenses/>. #include "test-glib-properties.h" +#define DEATH_TIME 60 + static guint layouton = 0; static GMainLoop * mainloop = NULL; static gboolean passed = TRUE; @@ -137,7 +139,7 @@ layout_verify_timer (gpointer data) } else { /* Extend our death */ g_source_remove(death_timer); - death_timer = g_timeout_add_seconds(10, timer_func, data); + death_timer = g_timeout_add_seconds(DEATH_TIME, timer_func, data); } layouton++; @@ -158,7 +160,7 @@ main (int argc, char ** argv) DbusmenuClient * client = dbusmenu_client_new(":1.0", "/org/test"); g_signal_connect(G_OBJECT(client), DBUSMENU_CLIENT_SIGNAL_LAYOUT_UPDATED, G_CALLBACK(layout_updated), NULL); - death_timer = g_timeout_add_seconds(10, timer_func, client); + death_timer = g_timeout_add_seconds(DEATH_TIME, timer_func, client); mainloop = g_main_loop_new(NULL, FALSE); g_main_loop_run(mainloop); |