From f3995658ff918d790c96b60b7c76ef17051a9ee6 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 14 Nov 2017 00:06:21 +0100 Subject: [PATCH] Increase timeout for WindowTestCase::FocusEvent() The default 100ms doesn't seem to be enough when this test runs under buildbot. --- tests/controls/windowtest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/controls/windowtest.cpp b/tests/controls/windowtest.cpp index ffc6fdf228..2dd6788ba1 100644 --- a/tests/controls/windowtest.cpp +++ b/tests/controls/windowtest.cpp @@ -142,7 +142,7 @@ void WindowTestCase::FocusEvent() m_window->SetFocus(); - WX_ASSERT_EVENT_OCCURS(setfocus, 1); + WX_ASSERT_EVENT_OCCURS_IN(setfocus, 1, 500); CPPUNIT_ASSERT(m_window->HasFocus()); wxButton* button = new wxButton(wxTheApp->GetTopWindow(), wxID_ANY);