Skip to content

Commit a5a73af

Browse files
committed
MQE-2669: bin/mftf run:failed process used a lot of RAM during MTSv1 build
1 parent 22a941a commit a5a73af

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/Magento/FunctionalTestingFramework/Console/RunTestFailedCommand.php

+7-1
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,14 @@ function ($type, $buffer) use ($output) {
109109
}
110110

111111
/**
112+
* Execute generate failed tests command as a separate process, so that we can kill it and avoid high memory usage.
113+
*
114+
* @param InputInterface $input
112115
* @param OutputInterface $output
113-
* @return mixed
116+
* @return integer
117+
*
118+
* @SuppressWarnings(PHPMD.UnusedLocalVariable)
119+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
114120
*/
115121
private function executeGenerateFailed(InputInterface $input, OutputInterface $output)
116122
{

0 commit comments

Comments
 (0)