From c83efa9db808ebb89c9648856b88349e34d1515e Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Fri, 1 Jan 2021 10:57:38 +0200 Subject: [PATCH] Updated timeout test --- .../Functions/FunctionsCustomServerTest.php | 2 +- tests/resources/functions/timeout.tar.gz | Bin 168 -> 166 bytes tests/resources/functions/timeout/index.php | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php index 2fe2e7d58d..a319f6ae27 100644 --- a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php +++ b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php @@ -683,7 +683,7 @@ class FunctionsCustomServerTest extends Scope $executionId = $execution['body']['$id'] ?? ''; $this->assertEquals(201, $execution['headers']['status-code']); - sleep(15); + sleep(7); $executions = $this->client->call(Client::METHOD_GET, '/functions/'.$functionId.'/executions', array_merge([ 'content-type' => 'application/json', diff --git a/tests/resources/functions/timeout.tar.gz b/tests/resources/functions/timeout.tar.gz index 16a2bec08bd936e2d6e0f9a864f409252763dcf5..d1c7c03b9e59c8043f7455f94d39f15e7266f935 100644 GIT binary patch literal 166 zcmb2|=3oE;Cg!&nPjekI5NLh4=C?@XE4AENx1A2A3-V}m@aD40-`{e&X}Yh-$Ny%+ zX-twuA-Y}Jn;zVW*_=A}{H>ORIoI#`{1u4OUZTB!mcaGIJKux4_Psuq{ypw&{ghSy z)1CLMEb%#dZwAx1Yj)@M$39uV)!6d?Ghz7;&wu8ZTmD=nb6z!TagP ziE0xR<0EID+^Mso&vf_t$C0lttO&k%;Yl6GR^zbc@n>fQ+viwi`(EF6cysmoXZEYs zd^?_NGd**Y8g2#U!{}C^my}zT%@LKI7=6^Q-uUe_ci~LnQW+H4JUstUNb_|Tj P-_3B%bUrtO1_J{C`sPY2 diff --git a/tests/resources/functions/timeout/index.php b/tests/resources/functions/timeout/index.php index 83cb8e1b56..8dfa09e88b 100644 --- a/tests/resources/functions/timeout/index.php +++ b/tests/resources/functions/timeout/index.php @@ -1,3 +1,3 @@