diff --git a/tests/integration/testmarketplace.nim b/tests/integration/testmarketplace.nim index 07851a1e..d8466240 100644 --- a/tests/integration/testmarketplace.nim +++ b/tests/integration/testmarketplace.nim @@ -226,14 +226,14 @@ marketplacesuite "Marketplace payouts": # Uncomment to start Hardhat automatically, typically so logs can be inspected locally hardhat: HardhatConfig.none, clients: CodexConfigs.init(nodes = 1) - # .debug() # uncomment to enable console log output.debug() - # .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log - # .withLogTopics("node", "erasure") + # .debug() # uncomment to enable console log output.debug() + # .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log + # .withLogTopics("node", "erasure") .some, providers: CodexConfigs.init(nodes = 1) - # .debug() # uncomment to enable console log output - # .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log - # .withLogTopics("node", "marketplace", "sales", "reservations", "node", "proving", "clock") + # .debug() # uncomment to enable console log output + # .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log + # .withLogTopics("node", "marketplace", "sales", "reservations", "node", "statemachine") .some, ): let duration = 20.periods @@ -284,7 +284,10 @@ marketplacesuite "Marketplace payouts": # wait until sale is cancelled await ethProvider.advanceTime(expiry.u256) - check eventually await providerApi.saleStateIs(slotId, "SaleCancelled") + check eventually( + await providerApi.saleStateIs(slotId, "SaleCancelled"), + timeout = expiry.int * 1000, + ) await advanceToNextPeriod()