From 82ee31c0e37682ba3d751b4da591f4a917fb2dcb Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Mon, 10 Feb 2020 10:19:34 +0200 Subject: [PATCH] Fix for test race condition --- tests/e2e/Services/Account/AccountBase.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/e2e/Services/Account/AccountBase.php b/tests/e2e/Services/Account/AccountBase.php index ed06ec547f..cf92dfe2af 100644 --- a/tests/e2e/Services/Account/AccountBase.php +++ b/tests/e2e/Services/Account/AccountBase.php @@ -49,6 +49,8 @@ trait AccountBase $this->assertEquals($response['headers']['status-code'], 409); + sleep(5); + return [ 'uid' => $uid, 'email' => $email,