Skip to content

Commit

Permalink
Update e2e tests to include --force flag for skipping DKG interval …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
shumkov committed Sep 26, 2024
1 parent b001422 commit e4632f6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/dashmate/test/e2e/localNetwork.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ describe('Local Network', function main() {
const task = restartNodeTask(config);
await task.run({
isVerbose: true,
isForce: true,
});
}

Expand All @@ -146,6 +147,7 @@ describe('Local Network', function main() {
const task = stopNodeTask(config);
await task.run({
isVerbose: true,
isForce: true,
});
}

Expand Down
4 changes: 2 additions & 2 deletions packages/dashmate/test/e2e/testnetEvonode.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ describe('Testnet Evonode', function main() {

await task.run({
isVerbose: true,
isSafe: true,
isForce: true,
});

// TODO: Assert all services are running
Expand Down Expand Up @@ -232,7 +232,7 @@ describe('Testnet Evonode', function main() {

await task.run({
isVerbose: true,
isSafe: true,
isForce: true,
});

// TODO: Assert all services are running
Expand Down
2 changes: 2 additions & 0 deletions packages/dashmate/test/e2e/testnetFullnode.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ describe('Testnet Fullnode', function main() {

await task.run({
isVerbose: true,
isForce: true,
});

await assertServiceRunning(config, 'core');
Expand All @@ -160,6 +161,7 @@ describe('Testnet Fullnode', function main() {

await task.run({
isVerbose: true,
isForce: true,
});

await assertServiceRunning(config, 'core', false);
Expand Down

0 comments on commit e4632f6

Please sign in to comment.