Skip to content

Commit

Permalink
chore: update assertion
Browse files Browse the repository at this point in the history
Signed-off-by: Ivo Yankov <[email protected]>
  • Loading branch information
Ivo-Yankov committed Sep 30, 2024
1 parent 7680dbe commit 23f46a2
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions test/e2e/commands/node_upgrade.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -62,28 +62,22 @@ describe('Node upgrade', () => {
it('should prepare network upgrade successfully', async () => {
await nodeCmd.prepareUpgrade(upgradeArgv)
expect(nodeCmd.getUnusedConfigs(PREPARE_UPGRADE_CONFIGS_NAME)).toEqual([
flags.app.constName,
flags.devMode.constName,
flags.endpointType.constName
flags.devMode.constName
])
}, 300000)

it('should download generated files successfully', async () => {
await nodeCmd.downloadGeneratedFiles(upgradeArgv)
expect(nodeCmd.getUnusedConfigs(DOWNLOAD_GENERATED_FILES_CONFIGS_NAME)).toEqual([
flags.app.constName,
flags.devMode.constName,
flags.endpointType.constName
flags.devMode.constName
])
}, 300000)

it('should upgrade all nodes on the network successfully', async () => {
await nodeCmd.freezeUpgrade(upgradeArgv)
await nodeCmd.accountManager.close()
expect(nodeCmd.getUnusedConfigs(PREPARE_UPGRADE_CONFIGS_NAME)).toEqual([
flags.app.constName,
flags.devMode.constName,
flags.endpointType.constName
flags.devMode.constName
])
}, 300000)

Expand Down

0 comments on commit 23f46a2

Please sign in to comment.