Skip to content

Commit

Permalink
Fix: tryQueryWithTimeout seconds passed instead of miliseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
Lezek123 committed Feb 16, 2023
1 parent 01fd605 commit 41bb22b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/network-tests/src/flows/storage/storageSync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ export async function storageSync({ api, query }: FlowProps): Promise<void> {
await query.tryQueryWithTimeout(
() => query.getChannelsCount(),
(r) => assert.equal(r, 10_000),
9,
100 // 9 * 100 = 900s = 15 minutes timeout
10_000,
30 // 10s * 30 = 300s = 5 minutes timeout
)

// Create channel w/ some data objects
Expand Down

0 comments on commit 41bb22b

Please sign in to comment.