From e7b9218db8bc5aa64df7d4efac3fc2f5f041c9fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Wed, 14 Aug 2024 14:52:00 +0000 Subject: [PATCH] Fix test --- tests/e2e/Services/Functions/FunctionsCustomServerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php index 92b4e92141..dace64820b 100644 --- a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php +++ b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php @@ -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