Skip to content

Commit

Permalink
bump wait times since polling interval was bumped
Browse files Browse the repository at this point in the history
  • Loading branch information
emizzle committed Oct 23, 2024
1 parent bda9298 commit 7e58f4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions testmodule/providers/jsonrpc/testJsonRpcSubscriptions.nim
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,11 @@ suite "HTTP polling subscriptions - filter not found":
check mockServer.newFilterCounter == 1
echo "7"

await sleepAsync(50.millis)
await sleepAsync(200.millis)
echo "8"
mockServer.invalidateFilter(id)
echo "9"
await sleepAsync(50.millis)
await sleepAsync(200.millis)
echo "10"
check mockServer.newFilterCounter == 2
echo "11"
Expand All @@ -165,7 +165,7 @@ suite "HTTP polling subscriptions - filter not found":
let id = string.fromJson(jsonId).tryGet
check mockServer.newFilterCounter == 1

await sleepAsync(50.millis)
await sleepAsync(200.millis)
mockServer.invalidateFilter(id)
check eventually mockServer.newFilterCounter == 2
check mockServer.filters[id] == false
Expand Down

0 comments on commit 7e58f4b

Please sign in to comment.