From 703b9431751ab69c5a227644f464767f36ef8f7c Mon Sep 17 00:00:00 2001 From: Mark Spanbroek Date: Fri, 8 Nov 2024 09:37:26 +0100 Subject: [PATCH] more adjustments to integration test filling 3 slots takes longer now that we limited the amount of slot queue workers to 1 --- tests/integration/testecbug.nim | 4 ++-- tests/integration/testmarketplace.nim | 4 ++-- tests/integration/testproofs.nim | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/integration/testecbug.nim b/tests/integration/testecbug.nim index 1e078a41..d33c857a 100644 --- a/tests/integration/testecbug.nim +++ b/tests/integration/testecbug.nim @@ -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 diff --git a/tests/integration/testmarketplace.nim b/tests/integration/testmarketplace.nim index acadbac4..876c704b 100644 --- a/tests/integration/testmarketplace.nim +++ b/tests/integration/testmarketplace.nim @@ -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] diff --git a/tests/integration/testproofs.nim b/tests/integration/testproofs.nim index 057d7f46..fb09a09b 100644 --- a/tests/integration/testproofs.nim +++ b/tests/integration/testproofs.nim @@ -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) @@ -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) @@ -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