mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix: increase Sites activation timeout to 600s and add retry to testScopes
MongoDB CI builds take longer to process the deployment queue, causing testSiteDomainReclaiming to timeout at 400s. Increase to 600s. testScopes has an intermittent 401 auth failure - add #[Retry(count: 3)] for resilience. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
a13b9c0a88
commit
aa369dc371
@@ -1776,6 +1776,7 @@ class FunctionsCustomServerTest extends Scope
|
||||
$this->assertEquals(204, $user['headers']['status-code']);
|
||||
}
|
||||
|
||||
#[Retry(count: 3)]
|
||||
public function testScopes()
|
||||
{
|
||||
$functionId = $this->setupFunction([
|
||||
|
||||
@@ -76,7 +76,7 @@ trait SitesBase
|
||||
'x-appwrite-key' => $this->getProject()['apiKey'],
|
||||
]));
|
||||
$this->assertEquals($deploymentId, $site['body']['deploymentId'], 'Deployment is not activated, deployment: ' . json_encode($site['body'], JSON_PRETTY_PRINT));
|
||||
}, 400000, 500);
|
||||
}, 600000, 500);
|
||||
}
|
||||
|
||||
return $deploymentId;
|
||||
|
||||
Reference in New Issue
Block a user