Stabilize sites usage stats test

This commit is contained in:
Chirag Aggarwal committed 2026-06-26 18:30:56 +05:30
1 parent 5ad7d70e1b
commit cbb2446c93
1 file changed
+2 -2
+2 -2
View File
@@ -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