fix: increase sites template deployment test timeout

This commit is contained in:
Hemachandar
2025-10-29 15:24:48 +05:30
parent 0e6d3279d7
commit 7514240c27
@@ -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: [