From cfe1acaad0ecc72af733aa7f1cca2dc257b7f5d8 Mon Sep 17 00:00:00 2001 From: KevinBKozan Date: Fri, 20 Apr 2018 10:25:03 -0500 Subject: [PATCH] MQE-970: Tests in Suites being omitted when line counts are exact match - array_diff to array_diff_key --- .../Util/Sorter/ParallelGroupSorter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magento/FunctionalTestingFramework/Util/Sorter/ParallelGroupSorter.php b/src/Magento/FunctionalTestingFramework/Util/Sorter/ParallelGroupSorter.php index dfe5d3915..555eb5244 100644 --- a/src/Magento/FunctionalTestingFramework/Util/Sorter/ParallelGroupSorter.php +++ b/src/Magento/FunctionalTestingFramework/Util/Sorter/ParallelGroupSorter.php @@ -243,7 +243,7 @@ private function splitTestSuite($suiteName, $tests, $lineLimit) $split_suites["{$suiteName}_${split_count}"] = $group; $this->addSuiteToConfig($suiteName, "{$suiteName}_${split_count}", $group); - $availableTests = array_diff($availableTests, $group); + $availableTests = array_diff_key($availableTests, $group); $split_count++; }