--- vlc-3.0.3/test/src/interface/dialog.c.old	2017-11-24 09:29:18.000000000 -0600
+++ vlc-3.0.3/test/src/interface/dialog.c	2018-07-31 04:33:23.135819785 -0500
@@ -302,7 +302,7 @@
     };
     struct cb_answer ans = { 0 };
     vlc_dialog_provider_set_callbacks(p_libvlc->p_libvlc_int, &cbs, &ans);
-    test_dialogs(VLC_OBJECT(p_libvlc->p_libvlc_int), &ans, 100000);
+    test_dialogs(VLC_OBJECT(p_libvlc->p_libvlc_int), &ans, VLC_HARD_MIN_SLEEP * 30);
     vlc_dialog_provider_set_callbacks(p_libvlc->p_libvlc_int, NULL, NULL);
 
     libvlc_release(p_libvlc);