From 69ac45c7be512e513bcfc7f409affc5fc61d8cb3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Philipp=20Sch=C3=BCle?= Date: Thu, 25 Aug 2016 09:02:58 +0200 Subject: [PATCH] FMail: adds another sleep to improve test stability MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I600124e6cef3722ec4918812bf23c3da6254130c Reviewed-on: http://gerrit.tine20.com/customers/3477 Tested-by: Jenkins CI (http://ci.tine20.com/) Reviewed-by: Philipp Schüle --- tests/tine20/Felamimail/Frontend/JsonTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/tine20/Felamimail/Frontend/JsonTest.php b/tests/tine20/Felamimail/Frontend/JsonTest.php index 1ee287b..d8a2ba7 100644 --- a/tests/tine20/Felamimail/Frontend/JsonTest.php +++ b/tests/tine20/Felamimail/Frontend/JsonTest.php @@ -930,6 +930,9 @@ class Felamimail_Frontend_JsonTest extends TestCase 'field' => 'id', 'operator' => 'in', 'value' => array($message['id']) )), $testFolder->getId()); + // sleep for 2 secs because mailserver may be slower than expected + sleep(2); + $inboxAfter = $this->_getFolder('INBOX'); // check if count was decreased correctly -- 2.7.4