From bf014259bd815cf6594fe52b6933e1db0bb308fb Mon Sep 17 00:00:00 2001 From: Emmanuel Rodriguez Date: Mon, 3 Aug 2009 19:04:55 +0200 Subject: [PATCH] Give more time to the animations during the unit tests. Sometimes the animations need more time (bad connectivity and invalid cache?). In these conditions the tests fail. Now the tests have more time and they show a diagnostic showing that the main loop has timed out. --- bindings/perl/Champlain/t/ChamplainView.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bindings/perl/Champlain/t/ChamplainView.t b/bindings/perl/Champlain/t/ChamplainView.t index 69273f7..223c8f3 100644 --- a/bindings/perl/Champlain/t/ChamplainView.t +++ b/bindings/perl/Champlain/t/ChamplainView.t @@ -432,7 +432,8 @@ sub run_animation_loop { $view->signal_connect('animation-completed' => sub { Clutter->main_quit(); }); - Glib::Timeout->add(3000, sub { + Glib::Timeout->add(10_000, sub { + diag("Event loop timeout, perhaps the animation needs more time?"); Clutter->main_quit(); return FALSE; }); -- 2.39.5