From cbb2446c93e012396706ff5b363fe95d99ddb6cb Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Fri, 26 Jun 2026 18:30:56 +0530 Subject: [PATCH] Stabilize sites usage stats test --- tests/e2e/General/UsageTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/General/UsageTest.php b/tests/e2e/General/UsageTest.php index 217991c58f..42321395cc 100644 --- a/tests/e2e/General/UsageTest.php +++ b/tests/e2e/General/UsageTest.php @@ -1869,7 +1869,7 @@ final class UsageTest extends Scope $this->validateDates($response['body']['executions']); $this->assertEquals($executionTime, $response['body']['executionsTime'][array_key_last($response['body']['executionsTime'])]['value']); $this->validateDates($response['body']['executionsTime']); - }); + }, 60000, 500); $this->assertEventually(function () use ($executions, $executionTime) { $response = $this->client->call( @@ -1901,7 +1901,7 @@ final class UsageTest extends Scope $this->validateDates($response['body']['executionsTime']); $this->assertGreaterThan(0, $response['body']['buildsTime'][array_key_last($response['body']['buildsTime'])]['value']); $this->validateDates($response['body']['buildsTime']); - }); + }, 60000, 500); } public function testCustomDomainsFunctionStats(): void