Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
PROFeNoM committed Jan 17, 2025
1 parent f812fca commit 055b40c
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions tests/Integrations/PCNTL/PCNTLTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,6 @@ protected function ddSetUp()
parent::ddSetUp();
}

private function retryTest(callable $testCase, ...$args)
{
$attempts = 0;
while ($attempts < self::MAX_RETRIES) {
try {
$testCase(...$args);
return; // Test passed, exit the loop.
} catch (\Throwable $e) {
$attempts++;
if ($attempts >= self::MAX_RETRIES) {
throw $e; // Re-throw after max retries.
}
}
}
}

/**
* @dataProvider dataProviderAllScripts
*/
Expand Down

0 comments on commit 055b40c

Please sign in to comment.