From e4632f6c7618ace68249ccdfb9134c96375c983f Mon Sep 17 00:00:00 2001 From: Ivan Shumkov Date: Thu, 26 Sep 2024 16:11:42 +0300 Subject: [PATCH] Update e2e tests to include `--force` flag for skipping DKG interval check * **localNetwork.spec.js** - Add `isForce: true` to `restart` and `stop` tests * **testnetEvonode.spec.js** - Replace `isSafe: true` with `isForce: true` in `restart` and `stop` tests * **testnetFullnode.spec.js** - Add `isForce: true` to `restart` and `stop` tests --- packages/dashmate/test/e2e/localNetwork.spec.js | 2 ++ packages/dashmate/test/e2e/testnetEvonode.spec.js | 4 ++-- packages/dashmate/test/e2e/testnetFullnode.spec.js | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/dashmate/test/e2e/localNetwork.spec.js b/packages/dashmate/test/e2e/localNetwork.spec.js index d1f8c7bb7b..ab44a55991 100644 --- a/packages/dashmate/test/e2e/localNetwork.spec.js +++ b/packages/dashmate/test/e2e/localNetwork.spec.js @@ -129,6 +129,7 @@ describe('Local Network', function main() { const task = restartNodeTask(config); await task.run({ isVerbose: true, + isForce: true, }); } @@ -146,6 +147,7 @@ describe('Local Network', function main() { const task = stopNodeTask(config); await task.run({ isVerbose: true, + isForce: true, }); } diff --git a/packages/dashmate/test/e2e/testnetEvonode.spec.js b/packages/dashmate/test/e2e/testnetEvonode.spec.js index 1e8f90d5ab..5ffd9e3f94 100644 --- a/packages/dashmate/test/e2e/testnetEvonode.spec.js +++ b/packages/dashmate/test/e2e/testnetEvonode.spec.js @@ -148,7 +148,7 @@ describe('Testnet Evonode', function main() { await task.run({ isVerbose: true, - isSafe: true, + isForce: true, }); // TODO: Assert all services are running @@ -232,7 +232,7 @@ describe('Testnet Evonode', function main() { await task.run({ isVerbose: true, - isSafe: true, + isForce: true, }); // TODO: Assert all services are running diff --git a/packages/dashmate/test/e2e/testnetFullnode.spec.js b/packages/dashmate/test/e2e/testnetFullnode.spec.js index 12329f3407..7d8ccc43d0 100644 --- a/packages/dashmate/test/e2e/testnetFullnode.spec.js +++ b/packages/dashmate/test/e2e/testnetFullnode.spec.js @@ -141,6 +141,7 @@ describe('Testnet Fullnode', function main() { await task.run({ isVerbose: true, + isForce: true, }); await assertServiceRunning(config, 'core'); @@ -160,6 +161,7 @@ describe('Testnet Fullnode', function main() { await task.run({ isVerbose: true, + isForce: true, }); await assertServiceRunning(config, 'core', false);