1
0
Fork 0
mirror of synced 2024-07-01 12:40:34 +12:00

Updated functions waiting times

This commit is contained in:
Eldad Fux 2021-01-01 11:56:53 +02:00
parent 8017cfbd53
commit 0947490cdd

View file

@ -455,6 +455,8 @@ class FunctionsCustomServerTest extends Scope
public function testENVS():array public function testENVS():array
{ {
sleep(20);
/** /**
* Test for SUCCESS * Test for SUCCESS
*/ */
@ -591,7 +593,7 @@ class FunctionsCustomServerTest extends Scope
$executionId = $execution['body']['$id'] ?? ''; $executionId = $execution['body']['$id'] ?? '';
$this->assertEquals(201, $execution['headers']['status-code']); $this->assertEquals(201, $execution['headers']['status-code']);
sleep(15); sleep(5);
$executions = $this->client->call(Client::METHOD_GET, '/functions/'.$functionId.'/executions', array_merge([ $executions = $this->client->call(Client::METHOD_GET, '/functions/'.$functionId.'/executions', array_merge([
'content-type' => 'application/json', 'content-type' => 'application/json',