sales: cleanup proving tests

This commit is contained in:
Mark Spanbroek 2024-02-27 10:35:04 +01:00
parent fb1de95a3c
commit da2e3b73d0
No known key found for this signature in database
GPG Key ID: FBE3E9548D427C00
1 changed files with 4 additions and 2 deletions

View File

@ -66,7 +66,7 @@ asyncchecksuite "sales state 'proving'":
market.setProofRequired(slot.id, true)
await market.advanceToNextPeriod()
check eventually receivedIds == @[slot.id]
check eventually receivedIds.contains(slot.id)
await future.cancelAndWait()
await subscription.unsubscribe()
@ -100,4 +100,6 @@ asyncchecksuite "sales state 'proving'":
let future = state.run(agent)
check receivedChallenge == market.proofChallenge
check eventually receivedChallenge == market.proofChallenge
await future.cancelAndWait()