From e7fc22e0030a4d4ca49b26f5d304afef26f8f8c2 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Mon, 26 Apr 2021 16:39:53 +0200 Subject: [PATCH] tests: debug travis --- tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php b/tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php index 43c60a99a..374d676d6 100644 --- a/tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php +++ b/tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php @@ -453,6 +453,8 @@ class WebhooksCustomServerTest extends Scope /** * Test for SUCCESS */ + sleep(10); + $execution = $this->client->call(Client::METHOD_POST, '/functions/'.$data['functionId'].'/executions', array_merge([ 'content-type' => 'application/json', 'x-appwrite-project' => $this->getProject()['$id'], @@ -460,7 +462,6 @@ class WebhooksCustomServerTest extends Scope $this->assertEquals($execution['headers']['status-code'], 201); $this->assertNotEmpty($execution['body']['$id']); - sleep(10); $webhook = $this->getLastRequest();