diff options
author | Simon McVittie <smcv@collabora.com> | 2017-11-27 19:14:23 +0000 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2018-02-06 19:14:27 +0000 |
commit | d4d6cdab994f99d4e9613a1ee0c8ec6bebec3f1c (patch) | |
tree | 072397e5ea878c37209749beb02ce6f8be6a7707 /test/test-utils-glib.h | |
parent | bd31f268e2531029ca3f3586b0a1a68b8e82171b (diff) | |
download | dbus-d4d6cdab994f99d4e9613a1ee0c8ec6bebec3f1c.tar.gz |
tests: Add the ability to multiply up test timeouts
Tests that brute-force OOM code paths can be rather slow.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=100317
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Signed-off-by: Simon McVittie <smcv@collabora.com>
(cherry picked from commit 5c91d85f3ed462dac1e011aab216c9021e826773)
Diffstat (limited to 'test/test-utils-glib.h')
-rw-r--r-- | test/test-utils-glib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-utils-glib.h b/test/test-utils-glib.h index f2f167ca..3952309c 100644 --- a/test/test-utils-glib.h +++ b/test/test-utils-glib.h @@ -89,6 +89,6 @@ void test_rmdir_must_exist (const gchar *path); void test_rmdir_if_exists (const gchar *path); void test_mkdir (const gchar *path, gint mode); -void test_timeout_reset (void); +void test_timeout_reset (guint factor); #endif |