Skip to content

Commit f039692

Browse files
committed
MQE-1774: Review community PR #343
Fix for pipeline step failures on execution of bin/magento from WebDriver.
1 parent f101b0e commit f039692

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/Magento/FunctionalTestingFramework/Module/MagentoWebDriver.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -517,11 +517,13 @@ public function scrollToTopOfPage()
517517
*/
518518
public function magentoCLI($command, $arguments = null)
519519
{
520-
try {
521-
return $this->shellExecMagentoCLI($command, $arguments);
522-
} catch (\Exception $exception) {
523-
return $this->curlExecMagentoCLI($command, $arguments);
524-
}
520+
return $this->curlExecMagentoCLI($command, $arguments);
521+
//TODO: calling bin/magento from pipeline is timing out, needs investigation (ref: MQE-1774)
522+
// try {
523+
// return $this->shellExecMagentoCLI($command, $arguments);
524+
// } catch (\Exception $exception) {
525+
// return $this->curlExecMagentoCLI($command, $arguments);
526+
// }
525527
}
526528

527529
/**

0 commit comments

Comments
 (0)