DX: Increase the number of iteration to ensure that the test really pass on random executions

This commit is contained in:
Julien Fastré 2023-10-17 10:27:33 +02:00
parent adf1110340
commit 48e0a0af7d
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -42,7 +42,7 @@ final class RefreshAddressToGeographicalUnitMaterializedViewCronJobTest extends
$executedForFirstTime = $executedAfter23 = $executedAfter25 = 0; $executedForFirstTime = $executedAfter23 = $executedAfter25 = 0;
for ($round = 0; 30 > $round; ++$round) { for ($round = 0; 50 > $round; ++$round) {
if ($job->canRun(null)) { if ($job->canRun(null)) {
++$executedForFirstTime; ++$executedForFirstTime;
} }