mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-04 08:23:38 +02:00
gdbus tests: wait up to 60s for gdbus-testserver to take its bus name
Previously, we waited up to 0.5s, but that can fail on slow architectures like ARM; now we wait up to 60s in 0.1s increments. Patch originally by Simon McVittie <simon.mcvittie@collabora.co.uk>, modified by Iain Lane to be called earlier, to catch all testcases in a particular test. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=724113 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Acked-by: Matthias Clasen <mclasen@redhat.com>
This commit is contained in:
committed by
Simon McVittie
parent
3beb67f9f3
commit
fe1a2dc196
@@ -114,6 +114,8 @@ GDBusConnection *_g_bus_get_priv (GBusType bus_type,
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
|
||||
void ensure_gdbus_testserver_up (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __TESTS_H__ */
|
||||
|
Reference in New Issue
Block a user