tests: Allow longer for a dialog to open
authorSimon McVittie <smcv@debian.org>
Tue, 22 Aug 2023 11:05:31 +0000 (12:05 +0100)
committerSimon McVittie <smcv@debian.org>
Tue, 22 Aug 2023 11:11:51 +0000 (12:11 +0100)
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

testsuite/gtk/templates.c

index 6de199ac52de11e45795c299ff6f977088adbf98..03a432d515f1a2b65d11e384fd6e0fddd2c85478 100644 (file)
@@ -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);