mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix(functions): fix flaky function test
The execution is async so give the function a bit more time to execute.
This commit is contained in:
@@ -166,7 +166,7 @@ class FunctionsCustomClientTest extends Scope
|
||||
$this->assertEquals(202, $execution['headers']['status-code']);
|
||||
|
||||
// Wait for the first scheduled execution to be created
|
||||
sleep(65);
|
||||
sleep(90);
|
||||
|
||||
$executions = $this->client->call(Client::METHOD_GET, '/functions/' . $function['body']['$id'] . '/executions', [
|
||||
'content-type' => 'application/json',
|
||||
|
||||
Reference in New Issue
Block a user