Skip to content

Commit

Permalink
more adjustments to integration test
Browse files Browse the repository at this point in the history
filling 3 slots takes longer now that we
limited the amount of slot queue workers to 1
  • Loading branch information
markspanbroek committed Nov 8, 2024
1 parent d53f531 commit 703b943
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions tests/integration/testecbug.nim
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ marketplacesuite "Bug #821 - node crashes during erasure coding":
.some,
):
let reward = 400.u256
let duration = 10.periods
let duration = 20.periods
let collateral = 200.u256
let expiry = 5.periods
let expiry = 10.periods
let data = await RandomChunker.example(blocks=8)
let client = clients()[0]
let clientApi = client.client
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/testmarketplace.nim
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ marketplacesuite "Marketplace payouts":
.some,
):
let reward = 400.u256
let duration = 10.periods
let duration = 20.periods
let collateral = 200.u256
let expiry = 5.periods
let expiry = 10.periods
let data = await RandomChunker.example(blocks=8)
let client = clients()[0]
let provider = providers()[0]
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/testproofs.nim
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ marketplacesuite "Hosts submit regular proofs":
.some,
):
let client0 = clients()[0].client
let expiry = 5.periods
let expiry = 10.periods
let duration = expiry + 5.periods

let data = await RandomChunker.example(blocks=8)
Expand Down Expand Up @@ -99,7 +99,7 @@ marketplacesuite "Simulate invalid proofs":
.some
):
let client0 = clients()[0].client
let expiry = 5.periods
let expiry = 10.periods
let duration = expiry + 10.periods

let data = await RandomChunker.example(blocks=8)
Expand Down Expand Up @@ -157,7 +157,7 @@ marketplacesuite "Simulate invalid proofs":
.some
):
let client0 = clients()[0].client
let expiry = 5.periods
let expiry = 10.periods
# In 2 periods you cannot have enough invalid proofs submitted:
let duration = expiry + 2.periods

Expand Down

0 comments on commit 703b943

Please sign in to comment.