~laney/libdbusmenu/libtool-and-gi

« back to all changes in this revision

Viewing changes to tests/test-glib-properties-client.c

  • Committer: Tarmac
  • Author(s): Ted Gould
  • Date: 2013-09-09 22:52:49 UTC
  • mfrom: (456.1.3 arm-tests)
  • Revision ID: tarmac-20130909225249-9jhcvqojzggzjj9w
Extend timeouts for busy Jenkins ARM machines.

Approved by PS Jenkins bot, Charles Kerr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
#include "test-glib-properties.h"
28
28
 
 
29
#define DEATH_TIME 60
 
30
 
29
31
static guint layouton = 0;
30
32
static GMainLoop * mainloop = NULL;
31
33
static gboolean passed = TRUE;
137
139
        } else {
138
140
                /* Extend our death */
139
141
                g_source_remove(death_timer);
140
 
                death_timer = g_timeout_add_seconds(10, timer_func, data);
 
142
                death_timer = g_timeout_add_seconds(DEATH_TIME, timer_func, data);
141
143
        }
142
144
 
143
145
        layouton++;
158
160
        DbusmenuClient * client = dbusmenu_client_new(":1.0", "/org/test");
159
161
        g_signal_connect(G_OBJECT(client), DBUSMENU_CLIENT_SIGNAL_LAYOUT_UPDATED, G_CALLBACK(layout_updated), NULL);
160
162
 
161
 
        death_timer = g_timeout_add_seconds(10, timer_func, client);
 
163
        death_timer = g_timeout_add_seconds(DEATH_TIME, timer_func, client);
162
164
 
163
165
        mainloop = g_main_loop_new(NULL, FALSE);
164
166
        g_main_loop_run(mainloop);