mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Add retries for flaky tests
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace Tests\E2E\Services\Account;
|
||||
|
||||
use Appwrite\SMS\Adapter\Mock;
|
||||
use Appwrite\Tests\Retry;
|
||||
use Tests\E2E\Client;
|
||||
use Tests\E2E\Scopes\Scope;
|
||||
use Tests\E2E\Scopes\ProjectCustom;
|
||||
@@ -923,6 +924,7 @@ class AccountCustomClientTest extends Scope
|
||||
/**
|
||||
* @depends testUpdatePhone
|
||||
*/
|
||||
#[Retry(count: 1)]
|
||||
public function testPhoneVerification(array $data): array
|
||||
{
|
||||
$session = $data['session'] ?? '';
|
||||
|
||||
@@ -874,6 +874,7 @@ trait UsersBase
|
||||
/**
|
||||
* @depends testGetUser
|
||||
*/
|
||||
#[Retry(count: 1)]
|
||||
public function testUpdateAndGetUserPrefs(array $data): array
|
||||
{
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user