mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix: increase sites template deployment test timeout
This commit is contained in:
@@ -1579,7 +1579,7 @@ class SitesCustomServerTest extends Scope
|
||||
$this->assertEventually(function () use ($siteId) {
|
||||
$site = $this->getSite($siteId);
|
||||
$this->assertNotEmpty($site['body']['deploymentId']);
|
||||
}, 50000, 500);
|
||||
}, 150000, 500);
|
||||
|
||||
$domain = $this->setupSiteDomain($siteId);
|
||||
$proxyClient = new Client();
|
||||
@@ -2097,7 +2097,7 @@ class SitesCustomServerTest extends Scope
|
||||
$this->assertEventually(function () use ($siteId, $deploymentId2) {
|
||||
$site = $this->getSite($siteId);
|
||||
$this->assertEquals($deploymentId2, $site['body']['deploymentId']);
|
||||
}, 50000, 500);
|
||||
}, 150000, 500);
|
||||
|
||||
$response = $proxyClient->call(Client::METHOD_GET, '/not-found');
|
||||
$this->assertStringContainsString("Index page", $response['body']);
|
||||
@@ -2595,7 +2595,7 @@ class SitesCustomServerTest extends Scope
|
||||
$deployment = $this->getDeployment($siteId, $deploymentId);
|
||||
|
||||
$this->assertEquals('failed', $deployment['body']['status']);
|
||||
}, 50000, 500);
|
||||
}, 150000, 500);
|
||||
|
||||
// deployment failed error page
|
||||
$response = $proxyClient->call(Client::METHOD_GET, '/', followRedirects: false, headers: [
|
||||
|
||||
Reference in New Issue
Block a user