Skip to content

Commit 221845d

Browse files
authored
MCLOUD-7310: Fix functional tests for cloud docker (#15)
1 parent 656fb1c commit 221845d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/Test/Functional/Acceptance/AbstractCest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function _before(\CliTester $I): void
4040
$I->addEceToolsGitRepoToComposer();
4141
$I->addDependencyToComposer('magento/ece-tools', 'dev-develop as 2002.1.99');
4242

43-
$I->composerUpdate();
43+
$I->assertTrue($I->composerUpdate(), 'Composer update failed');
4444
$I->cacheWorkDir(static::TEMPLATE_VERSION);
4545
}
4646

src/Test/Functional/Acceptance/AcceptanceCest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class AcceptanceCest extends AbstractCest
2020
*/
2121
public function testProductionMode(\CliTester $I): void
2222
{
23-
$I->runEceDockerCommand('build:compose --mode=production');
23+
$I->assertTrue($I->runEceDockerCommand('build:compose --mode=production'), 'Command build:compose failed');
2424
$I->replaceImagesWithGenerated();
2525
$I->startEnvironment();
2626
$I->runDockerComposeCommand('run build cloud-build');

travis.php.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
memory_limit = 4G

0 commit comments

Comments
 (0)