adjust timeouts for polling

This commit is contained in:
David Bomba 2023-10-26 16:38:42 +11:00
parent c234d6ec22
commit a7c63a35d9

View File

@ -278,7 +278,7 @@ class ReportCsvGenerationTest extends TestCase
private function poll($hash) private function poll($hash)
{ {
$response = Http::retry(20, 1000, throw: false) $response = Http::retry(50, 1000, throw: false)
->withHeaders([ ->withHeaders([
'X-API-SECRET' => config('ninja.api_secret'), 'X-API-SECRET' => config('ninja.api_secret'),
'X-API-TOKEN' => $this->token, 'X-API-TOKEN' => $this->token,