Skip to content
Snippets Groups Projects
Commit 9a1a340b authored by Andrii Voskoboinikov's avatar Andrii Voskoboinikov
Browse files

MAGETWO-83365: Stabilize Frontend Pool for multi thread run

parent 284440e4
Branches
No related merge requests found
......@@ -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)) {
......
......@@ -171,7 +171,6 @@ class FixtureModel
return $this->fixturesByNames[$name];
}
/**
* Get object manager
*
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment