From f9fb7a639630ba288733e8be0614643b3bc37d58 Mon Sep 17 00:00:00 2001 From: Mitch Pierias Date: Fri, 26 Apr 2019 14:17:23 +1000 Subject: [PATCH] Always starts a new container --- src/cli/lamington-test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/lamington-test.ts b/src/cli/lamington-test.ts index c5efb52..11eb1d7 100644 --- a/src/cli/lamington-test.ts +++ b/src/cli/lamington-test.ts @@ -11,8 +11,8 @@ import { ConfigManager } from '../configManager'; const run = async () => { // Initialize the configuration await ConfigManager.initWithDefaults(); - // Stop running instances when keepAlive is false - if (!ConfigManager.keepAlive && await eosIsReady()) { + // Stop running instances for fresh test environment + if (await eosIsReady()) { await stopContainer(); } // Ensures we have our .gitignore inside the .lamington directory