Skip to content

Commit 44e94d4

Browse files
authored
Merge pull request #304 from magento-gl/cron-wait-group
Wait for cron process to finish properly
2 parents 031e27c + 1bbdbf1 commit 44e94d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Magento/FunctionalTestingFramework/Module/MagentoWebDriver.php

+4
Original file line numberDiff line numberDiff line change
@@ -1033,6 +1033,10 @@ private function executeCronjobs($cronGroups, $timeout, $arguments): string
10331033
{
10341034
$cronGroups = array_filter($cronGroups);
10351035

1036+
if (isset($cronGroups[0]) && !isset($cronGroups[1])) {
1037+
$arguments .= ' --bootstrap=standaloneProcessStarted=1';
1038+
}
1039+
10361040
$waitFor = $this->getCronWait($cronGroups);
10371041

10381042
if ($waitFor) {

0 commit comments

Comments
 (0)