1
0
Fork 0
mirror of synced 2024-06-01 18:39:57 +12:00

tests: fix timeout tests

This commit is contained in:
Torsten Dittmann 2022-05-31 12:30:30 +02:00
parent 0fdd785ba9
commit f839903497

View file

@ -764,8 +764,8 @@ class FunctionsCustomServerTest extends Scope
$this->assertEquals($executions['body']['executions'][0]['status'], 'failed');
$this->assertEquals($executions['body']['executions'][0]['statusCode'], 500);
$this->assertGreaterThan(2, $executions['body']['executions'][0]['time']);
$this->assertLessThan(7, $executions['body']['executions'][0]['time']);
$this->assertGreaterThan(5, $executions['body']['executions'][0]['time']);
$this->assertLessThan(6, $executions['body']['executions'][0]['time']);
$this->assertGreaterThan(4, $executions['body']['executions'][0]['time']);
$this->assertEquals($executions['body']['executions'][0]['response'], '');
$this->assertEquals($executions['body']['executions'][0]['stderr'], 'An internal curl error has occurred within the executor! Error Msg: Operation timed out');