mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 16:32:18 +01:00 
			
		
		
		
	tests: Bump the refcount timeout in gdbus-threading
Currently the test waits for 1s before deciding that a refcount has been leaked. But slow test machines might take longer than that between scheduling different threads to sort out the refcount, so increase the timeout. Signed-off-by: Philip Withnall <withnall@endlessm.com> Helps: #1515
This commit is contained in:
		| @@ -57,7 +57,7 @@ assert_connection_has_one_ref (GDBusConnection *connection, | ||||
|   if (g_atomic_int_get (&G_OBJECT (connection)->ref_count) == 1) | ||||
|     return; | ||||
|  | ||||
|   timeout_source = g_timeout_source_new_seconds (1); | ||||
|   timeout_source = g_timeout_source_new_seconds (3); | ||||
|   g_source_set_callback (timeout_source, timeout_cb, &data, NULL); | ||||
|   g_source_attach (timeout_source, context); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user