1
0
Fork 0
mirror of synced 2024-10-03 02:37:40 +13: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:
Steven Nguyen 2024-06-24 19:15:41 +00:00 committed by GitHub
parent 01fc6a699a
commit 9ccf4991e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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',