mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fix flaky tests
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace Tests\E2E\Services\Functions;
|
||||
|
||||
use Appwrite\Tests\Retry;
|
||||
use Appwrite\Functions\Specification;
|
||||
use Tests\E2E\Client;
|
||||
use Tests\E2E\Scopes\ProjectCustom;
|
||||
@@ -511,6 +512,7 @@ class FunctionsCustomServerTest extends Scope
|
||||
/**
|
||||
* @depends testUpdateFunction
|
||||
*/
|
||||
#[Retry(count: 3)]
|
||||
public function testCancelDeploymentBuild($data): void
|
||||
{
|
||||
$functionId = $data['functionId'];
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace Tests\E2E\Services\Sites;
|
||||
|
||||
use Appwrite\Tests\Retry;
|
||||
use Appwrite\Sites\Specification;
|
||||
use Tests\E2E\Client;
|
||||
use Tests\E2E\Scopes\ProjectCustom;
|
||||
@@ -674,6 +675,7 @@ class SitesCustomServerTest extends Scope
|
||||
$this->cleanupSite($siteId);
|
||||
}
|
||||
|
||||
#[Retry(count: 3)]
|
||||
public function testCancelDeploymentBuild(): void
|
||||
{
|
||||
$siteId = $this->setupSite([
|
||||
|
||||
Reference in New Issue
Block a user