From b9b0df949262f016370110f99a233edbda9a1e6b Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Mon, 12 Feb 2024 18:41:32 +1300 Subject: [PATCH] Update sleep for flaky test --- tests/e2e/Services/Account/AccountCustomClientTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/Services/Account/AccountCustomClientTest.php b/tests/e2e/Services/Account/AccountCustomClientTest.php index 3ea8e2723b..1169686ada 100644 --- a/tests/e2e/Services/Account/AccountCustomClientTest.php +++ b/tests/e2e/Services/Account/AccountCustomClientTest.php @@ -2227,7 +2227,7 @@ class AccountCustomClientTest extends Scope /** * @depends testUpdatePhone */ - #[Retry(count: 1)] + #[Retry(count: 2)] public function testPhoneVerification(array $data): array { $session = $data['session'] ?? ''; @@ -2248,7 +2248,7 @@ class AccountCustomClientTest extends Scope $this->assertEmpty($response['body']['secret']); $this->assertEquals(true, (new DatetimeValidator())->isValid($response['body']['expire'])); - \sleep(5); + \sleep(10); $smsRequest = $this->getLastRequest();