This commit is contained in:
Matej Bačo
2024-08-14 14:52:00 +00:00
parent a7df513d33
commit e7b9218db8
@@ -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