Skip to content

Commit 5946652

Browse files
committed
MQE-1902: Running bin/magento from MagentoWebDriver causing timeout issues on pipeline
Reverted changes, build still hangs with starting cron process from shell.
1 parent 50d9cd2 commit 5946652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Magento/FunctionalTestingFramework/Module/MagentoWebDriver.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ public function magentoCLI($command, $timeout = null, $arguments = null)
527527
$valid = $this->validateCommand($magentoBinary, $command);
528528
// execute from shell when running tests from web root -- excluding cron
529529
//TODO: investigate why cron:run hangs with shell execution on pipeline
530-
if ($valid && ($command !== self::COMMAND_CRON_RUN)) {
530+
if ($valid && strpos($command, self::COMMAND_CRON_RUN) === false) {
531531
return $this->shellExecMagentoCLI($magentoBinary, $command, $timeout, $arguments);
532532
} else {
533533
return $this->curlExecMagentoCLI($command, $timeout, $arguments);

0 commit comments

Comments
 (0)