mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Fix test
This commit is contained in:
parent
a7df513d33
commit
e7b9218db8
1 changed files with 2 additions and 2 deletions
|
|
@ -1430,12 +1430,12 @@ class FunctionsCustomServerTest extends Scope
|
|||
|
||||
$this->assertEquals(200, $executions['headers']['status-code']);
|
||||
|
||||
if (\count($execution['body']['executions']) > 0) {
|
||||
if (\count($executions['body']['executions']) > 0) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (\microtime(true) - $start > 70) {
|
||||
$this->fail('Execution did not create within 70 seconds of schedule in status ' . $execution['body']['status'] . ': ' . \json_encode($execution));
|
||||
$this->fail('Execution did not create within 70 seconds of schedule: ' . \json_encode($executions));
|
||||
}
|
||||
|
||||
usleep(1000000); // 1 second
|
||||
|
|
|
|||
Loading…
Reference in a new issue