From 9a1a340b5c6bfde11c232dd85d7b93e439608cdd Mon Sep 17 00:00:00 2001
From: Andrii Voskoboinikov <avoskoboinikov@magento.com>
Date: Thu, 14 Dec 2017 10:43:59 +0200
Subject: [PATCH] MAGETWO-83365: Stabilize Frontend Pool for multi thread run

---
 .../Setup/Console/Command/GenerateFixturesCommand.php     | 8 ++++----
 setup/src/Magento/Setup/Fixtures/FixtureModel.php         | 1 -
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/setup/src/Magento/Setup/Console/Command/GenerateFixturesCommand.php b/setup/src/Magento/Setup/Console/Command/GenerateFixturesCommand.php
index ef12f592311..b42002cc196 100644
--- a/setup/src/Magento/Setup/Console/Command/GenerateFixturesCommand.php
+++ b/setup/src/Magento/Setup/Console/Command/GenerateFixturesCommand.php
@@ -8,9 +8,7 @@ namespace Magento\Setup\Console\Command;
 
 use Magento\Framework\App\ResourceConnection;
 use Magento\Framework\Mview\View\CollectionInterface;
-use Magento\Setup\Fixtures\ConfigsApplyFixture;
 use Magento\Setup\Fixtures\FixtureModel;
-use Magento\Setup\Fixtures\IndexersStatesApplyFixture;
 use Symfony\Component\Console\Command\Command;
 use Symfony\Component\Console\Input\InputArgument;
 use Symfony\Component\Console\Input\InputInterface;
@@ -86,7 +84,8 @@ class GenerateFixturesCommand extends Command
             }
 
             /** @var \Magento\Setup\Fixtures\ConfigsApplyFixture $configFixture */
-            $configFixture = $fixtureModel->getFixtureByName(ConfigsApplyFixture::class);
+            $configFixture = $fixtureModel
+                ->getFixtureByName(\Magento\Setup\Fixtures\ConfigsApplyFixture::class);
             $configFixture && $this->executeFixture($configFixture, $output);
 
             /** @var $config \Magento\Indexer\Model\Config */
@@ -108,7 +107,8 @@ class GenerateFixturesCommand extends Command
             $this->clearChangelog();
 
             /** @var \Magento\Setup\Fixtures\IndexersStatesApplyFixture $indexerFixture */
-            $indexerFixture = $fixtureModel->getFixtureByName(IndexersStatesApplyFixture::class);
+            $indexerFixture = $fixtureModel
+                ->getFixtureByName(\Magento\Setup\Fixtures\IndexersStatesApplyFixture::class);
             $indexerFixture && $this->executeFixture($indexerFixture, $output);
 
             if (!$input->getOption(self::SKIP_REINDEX_OPTION)) {
diff --git a/setup/src/Magento/Setup/Fixtures/FixtureModel.php b/setup/src/Magento/Setup/Fixtures/FixtureModel.php
index 96c4025ac18..104c9cb3432 100644
--- a/setup/src/Magento/Setup/Fixtures/FixtureModel.php
+++ b/setup/src/Magento/Setup/Fixtures/FixtureModel.php
@@ -171,7 +171,6 @@ class FixtureModel
         return $this->fixturesByNames[$name];
     }
 
-
     /**
      * Get object manager
      *
-- 
GitLab