1
0
Fork 0
mirror of synced 2024-06-02 19:04:49 +12:00

tests: debug travis

This commit is contained in:
Torsten Dittmann 2021-04-26 16:28:48 +02:00
parent 2d909a1e02
commit 8d0184af29

View file

@ -460,6 +460,7 @@ class WebhooksCustomServerTest extends Scope
$this->assertEquals($execution['headers']['status-code'], 201);
$this->assertNotEmpty($execution['body']['$id']);
sleep(10);
$webhook = $this->getLastRequest();
@ -472,7 +473,7 @@ class WebhooksCustomServerTest extends Scope
$this->assertEquals($webhook['headers']['X-Appwrite-Webhook-Project-Id'] ?? '', $this->getProject()['$id']);
// wait for timeout function to complete (sleep(5);)
sleep(60);
sleep(10);
$webhook = $this->getLastRequest();
$function = $this->client->call(Client::METHOD_GET, '/functions/'.$data['functionId'].'/executions', array_merge([