mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Increase sleep for flaky test
This commit is contained in:
parent
f2efe9ca72
commit
bb264bef23
1 changed files with 2 additions and 2 deletions
|
|
@ -2227,7 +2227,7 @@ class AccountCustomClientTest extends Scope
|
||||||
/**
|
/**
|
||||||
* @depends testUpdatePhone
|
* @depends testUpdatePhone
|
||||||
*/
|
*/
|
||||||
#[Retry(count: 1)]
|
#[Retry(count: 2)]
|
||||||
public function testPhoneVerification(array $data): array
|
public function testPhoneVerification(array $data): array
|
||||||
{
|
{
|
||||||
$session = $data['session'] ?? '';
|
$session = $data['session'] ?? '';
|
||||||
|
|
@ -2248,7 +2248,7 @@ class AccountCustomClientTest extends Scope
|
||||||
$this->assertEmpty($response['body']['secret']);
|
$this->assertEmpty($response['body']['secret']);
|
||||||
$this->assertEquals(true, (new DatetimeValidator())->isValid($response['body']['expire']));
|
$this->assertEquals(true, (new DatetimeValidator())->isValid($response['body']['expire']));
|
||||||
|
|
||||||
\sleep(5);
|
\sleep(10);
|
||||||
|
|
||||||
$smsRequest = $this->getLastRequest();
|
$smsRequest = $this->getLastRequest();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue