Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions tests/ExecutorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ public function testBuild(): array
$this->assertIsString($response['body']['stderr']);
$this->assertIsString($response['body']['stdout']);
$this->assertIsFloat($response['body']['duration']);
$this->assertLessThan(5, $response['body']['duration']);
$this->assertIsInt($response['body']['startTimeUnix']);
$this->assertIsInt($response['body']['endTimeUnix']);

Expand Down Expand Up @@ -167,7 +166,6 @@ public function testExecute(array $data): void
$this->assertIsString($response['body']['stderr']);
$this->assertEmpty($response['body']['stderr']);
$this->assertIsFloat($response['body']['duration']);
$this->assertLessThan(0.5, $response['body']['duration']);
$this->assertEquals('{"payload":"","variable":"","unicode":"Unicode magic: êä"}', $response['body']['response']);

/** Execute on cold-started runtime */
Expand All @@ -193,8 +191,6 @@ public function testExecute(array $data): void
]);

$this->assertEquals(200, $response['headers']['status-code']);
$this->assertLessThan(10, $response['body']['duration']);
$this->assertGreaterThan(0.5, $response['body']['duration']);

/** Delete runtime */
$response = $this->client->call(Client::METHOD_DELETE, '/runtimes/test-exec-coldstart', [], []);
Expand Down