From: Simon McVittie Date: Tue, 22 Aug 2023 11:05:31 +0000 (+0100) Subject: tests: Allow longer for a dialog to open X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a2c0b6c409c44bb7bc6d052fb98eef28dc4e96cb;p=gtk4.git tests: Allow longer for a dialog to open This hopefully makes the test pass more reliably, especially on riscv64. Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/6050 Bug-Debian: https://bugs.debian.org/1049434 Forwarded: no, workaround Gbp-Pq: Topic debian Gbp-Pq: Name tests-Allow-longer-for-a-dialog-to-open.patch --- diff --git a/testsuite/gtk/templates.c b/testsuite/gtk/templates.c index cf038e6fd1..4bd4e265d4 100644 --- a/testsuite/gtk/templates.c +++ b/testsuite/gtk/templates.c @@ -41,7 +41,7 @@ show_and_wait (GtkWidget *widget) { gboolean done = FALSE; - g_timeout_add (500, main_loop_quit_cb, &done); + g_timeout_add (1500, main_loop_quit_cb, &done); gtk_widget_set_visible (widget, TRUE); while (!done) g_main_context_iteration (NULL, FALSE);