Skip to content

Commit b29878c

Browse files
committed
increase default timeout
Signed-off-by: Jeromy Cannon <[email protected]>
1 parent 4e413da commit b29878c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

test/e2e/e2e_node_util.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ import fs from 'fs'
4949
import crypto from 'crypto'
5050

5151
export function e2eNodeKeyRefreshAddTest (keyFormat, testName, mode, releaseTag = HEDERA_PLATFORM_VERSION_TAG) {
52-
const defaultTimeout = 20000
52+
const defaultTimeout = 120000
5353

5454
describe(`NodeCommand [testName ${testName}, mode ${mode}, keyFormat: ${keyFormat}, release ${releaseTag}]`, () => {
5555
const namespace = testName
@@ -72,11 +72,11 @@ export function e2eNodeKeyRefreshAddTest (keyFormat, testName, mode, releaseTag
7272
afterEach(async () => {
7373
await nodeCmd.close()
7474
await accountManager.close()
75-
}, 120000)
75+
}, defaultTimeout)
7676

7777
afterAll(async () => {
7878
await k8.deleteNamespace(namespace)
79-
}, 120000)
79+
}, defaultTimeout)
8080

8181
describe(`Node should have started successfully [mode ${mode}, release ${releaseTag}, keyFormat: ${keyFormat}]`, () => {
8282
balanceQueryShouldSucceed(accountManager, nodeCmd, namespace)
@@ -96,7 +96,7 @@ export function e2eNodeKeyRefreshAddTest (keyFormat, testName, mode, releaseTag
9696
} finally {
9797
await nodeCmd.close()
9898
}
99-
}, 60000)
99+
}, defaultTimeout)
100100
})
101101

102102
describe(`Node should refresh successfully [mode ${mode}, release ${releaseTag}, keyFormat: ${keyFormat}]`, () => {
@@ -138,7 +138,7 @@ export function e2eNodeKeyRefreshAddTest (keyFormat, testName, mode, releaseTag
138138
configManager.update(argv, true)
139139
existingServiceMap = await accountManager.getNodeServiceMap(namespace)
140140
existingNodeIdsPrivateKeysHash = await getNodeIdsPrivateKeysHash(existingServiceMap, namespace, keyFormat, k8, getTmpDir())
141-
}, 120000)
141+
}, defaultTimeout)
142142

143143
it(`${nodeId} should not exist`, async () => {
144144
try {
@@ -182,7 +182,7 @@ export function e2eNodeKeyRefreshAddTest (keyFormat, testName, mode, releaseTag
182182
`${nodeId}:${keyFileName}:${existingKeyHash}`)
183183
}
184184
}
185-
}, 60000)
185+
}, defaultTimeout)
186186
})
187187
})
188188

@@ -216,7 +216,7 @@ export function e2eNodeKeyRefreshAddTest (keyFormat, testName, mode, releaseTag
216216
nodeCmd.logger.showUserError(e)
217217
expect(e).toBeNull()
218218
}
219-
}, 60000)
219+
}, defaultTimeout)
220220
}
221221

222222
function nodePodShouldBeRunning (nodeCmd, namespace, nodeId) {
@@ -229,7 +229,7 @@ export function e2eNodeKeyRefreshAddTest (keyFormat, testName, mode, releaseTag
229229
} finally {
230230
await nodeCmd.close()
231231
}
232-
}, 60000)
232+
}, defaultTimeout)
233233
}
234234

235235
function nodeRefreshShouldSucceed (nodeId, nodeCmd, argv) {

0 commit comments

Comments
 (0)