1
0
Fork 0
mirror of synced 2024-06-29 19:50:26 +12:00

Update sleep for flaky test

This commit is contained in:
Jake Barnby 2024-02-12 18:41:32 +13:00
parent 8ed2b1f3a5
commit ac8bddb10d
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -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();