Skip to content

Commit 0c0f3d6

Browse files
authored
MQE-970: Tests in Suites being omitted when line counts are exact match
- array_diff to array_diff_key
1 parent d7b3ce6 commit 0c0f3d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Magento/FunctionalTestingFramework/Util/Sorter/ParallelGroupSorter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ private function splitTestSuite($suiteName, $tests, $lineLimit)
243243
$split_suites["{$suiteName}_${split_count}"] = $group;
244244
$this->addSuiteToConfig($suiteName, "{$suiteName}_${split_count}", $group);
245245

246-
$availableTests = array_diff($availableTests, $group);
246+
$availableTests = array_diff_key($availableTests, $group);
247247
$split_count++;
248248
}
249249

0 commit comments

Comments
 (0)