From 48e0a0af7d4397ce66fa59e315b9f5853816eae9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Tue, 17 Oct 2023 10:27:33 +0200 Subject: [PATCH] DX: Increase the number of iteration to ensure that the test really pass on random executions --- ...reshAddressToGeographicalUnitMaterializedViewCronJobTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillMainBundle/Tests/Services/AddressGeographicalUnit/RefreshAddressToGeographicalUnitMaterializedViewCronJobTest.php b/src/Bundle/ChillMainBundle/Tests/Services/AddressGeographicalUnit/RefreshAddressToGeographicalUnitMaterializedViewCronJobTest.php index 2c4e6f428..833178622 100644 --- a/src/Bundle/ChillMainBundle/Tests/Services/AddressGeographicalUnit/RefreshAddressToGeographicalUnitMaterializedViewCronJobTest.php +++ b/src/Bundle/ChillMainBundle/Tests/Services/AddressGeographicalUnit/RefreshAddressToGeographicalUnitMaterializedViewCronJobTest.php @@ -42,7 +42,7 @@ final class RefreshAddressToGeographicalUnitMaterializedViewCronJobTest extends $executedForFirstTime = $executedAfter23 = $executedAfter25 = 0; - for ($round = 0; 30 > $round; ++$round) { + for ($round = 0; 50 > $round; ++$round) { if ($job->canRun(null)) { ++$executedForFirstTime; }