From 87e12d028d05c62ad9905bd74f01726fe8a5ffd2 Mon Sep 17 00:00:00 2001 From: Bradley Schofield Date: Mon, 2 Sep 2024 13:50:58 +0900 Subject: [PATCH] Increase timer, run linter. --- tests/e2e/General/UsageTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/e2e/General/UsageTest.php b/tests/e2e/General/UsageTest.php index 75b9e58bf3..81ddc9f784 100644 --- a/tests/e2e/General/UsageTest.php +++ b/tests/e2e/General/UsageTest.php @@ -860,7 +860,7 @@ class UsageTest extends Scope '/functions/' . $functionId . '/usage?range=30d', $this->getConsoleHeaders() ); - + $this->assertEquals(200, $response['headers']['status-code']); $this->assertEquals(19, count($response['body'])); $this->assertEquals('30d', $response['body']['range']); @@ -880,7 +880,7 @@ class UsageTest extends Scope $this->assertEquals(200, $response['headers']['status-code']); - $projectMetrics = $response['body']; + $projectMetrics = $response['body']; // Create custom domain execution $proxyClient = new Client(); @@ -893,7 +893,7 @@ class UsageTest extends Scope $this->assertEquals(200, $response['headers']['status-code']); - sleep(self::WAIT); + sleep(self::WAIT + 20); // Compare new values with old values $response = $this->client->call( @@ -901,7 +901,7 @@ class UsageTest extends Scope '/functions/' . $functionId . '/usage?range=30d', $this->getConsoleHeaders() ); - + $this->assertEquals(200, $response['headers']['status-code']); $this->assertEquals(19, count($response['body'])); $this->assertEquals('30d', $response['body']['range']);