Skip to content

Commit 82ed2ba

Browse files
committed
MQE-1260: Create RERUN_COUNT field in Jenkins MFTF Parameters section same as MTF parameters section
- Used shorter method for preventing test failure
1 parent f01995c commit 82ed2ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Magento/FunctionalTestingFramework/Console/RunTestFailedCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function ($type, $buffer) use ($output) {
101101
$output->write($buffer);
102102
}
103103
);
104-
if (realpath(self::TESTS_FAILED_FILE)) {
104+
if (file_exists(self::TESTS_FAILED_FILE)) {
105105
$this->failedList = array_merge(
106106
$this->failedList,
107107
$this->readFailedTestFile(self::TESTS_FAILED_FILE)

0 commit comments

Comments
 (0)