From fa94d8b426b359557464361799ac4eb0888bf92a Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 24 Jul 2018 16:43:46 +0200 Subject: Wait for long enough so we can time-out --- tests/mailsynctest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/mailsynctest.cpp b/tests/mailsynctest.cpp index e9e5bb2..45ee3bf 100644 --- a/tests/mailsynctest.cpp +++ b/tests/mailsynctest.cpp @@ -475,8 +475,8 @@ void MailSyncTest::testFailingSync() }); VERIFYEXEC(Store::synchronize(query)); - // Ensure sync fails if resource is misconfigured - QTRY_VERIFY(errorReceived); + // Ensure sync fails if resource is misconfigured. We have to wait longer than the timeout in imapserverproxy + QTRY_VERIFY_WITH_TIMEOUT(errorReceived, 10000); } void MailSyncTest::testSyncUidvalidity() -- cgit v1.2.3