Merge pull request #8317 from appwrite/fix-flaky-function-test
Fix flaky function test
This commit is contained in:
commit
83cb303f03
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ class FunctionsCustomClientTest extends Scope
|
||||||
$this->assertEquals(202, $execution['headers']['status-code']);
|
$this->assertEquals(202, $execution['headers']['status-code']);
|
||||||
|
|
||||||
// Wait for the first scheduled execution to be created
|
// 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', [
|
$executions = $this->client->call(Client::METHOD_GET, '/functions/' . $function['body']['$id'] . '/executions', [
|
||||||
'content-type' => 'application/json',
|
'content-type' => 'application/json',
|
||||||
|
|
Loading…
Reference in a new issue