mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-08 16:33:11 +00:00
Use eventuallySafe instead of eventually
This commit is contained in:
parent
33cb0c484c
commit
d3e57808e8
@ -94,18 +94,15 @@ twonodessuite "Purchasing":
|
||||
tolerance = 1.uint,
|
||||
)
|
||||
).get
|
||||
check eventually(
|
||||
await client1.purchaseStateIs(id, "submitted"),
|
||||
timeout = 3 * 60 * 1000,
|
||||
pollInterval = 100,
|
||||
|
||||
check eventuallySafe(
|
||||
await client1.purchaseStateIs(id, "submitted"), timeout = 3 * 60 * 1000
|
||||
)
|
||||
|
||||
await node1.restart()
|
||||
|
||||
check eventually(
|
||||
await client1.purchaseStateIs(id, "submitted"),
|
||||
timeout = 3 * 60 * 1000,
|
||||
pollInterval = 100,
|
||||
check eventuallySafe(
|
||||
await client1.purchaseStateIs(id, "submitted"), timeout = 3 * 60 * 1000
|
||||
)
|
||||
let request = (await client1.getPurchase(id)).get.request.get
|
||||
check request.ask.duration == (10 * 60).uint64
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user