diff --git a/tests/integration/testmarketplace.nim b/tests/integration/testmarketplace.nim index adfbb9c2..7e5a618d 100644 --- a/tests/integration/testmarketplace.nim +++ b/tests/integration/testmarketplace.nim @@ -147,11 +147,13 @@ marketplacesuite(name = "Marketplace", stopOnRequestFail = true): clients: CodexConfigs.init(nodes = 1) # .debug() .some, - providers: CodexConfigs.init(nodes = 2) - # .debug() - # .withLogFile() - # .withLogTopics("marketplace", "sales", "statemachine","slotqueue", "reservations") - .some, + providers: CodexConfigs + .init(nodes = 2) + # .debug() + .withLogFile() + .withLogTopics( + "marketplace", "sales", "statemachine", "slotqueue", "reservations" + ).some, ): let client0 = clients()[0] let provider0 = providers()[0] @@ -228,20 +230,20 @@ marketplacesuite(name = "Marketplace payouts", stopOnRequestFail = true): NodeConfigs( # 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") - .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", "statemachine" - # ) - .some, + 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").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", "statemachine" + ).some, ): let duration = 20.periods let expiry = 10.periods @@ -343,13 +345,13 @@ marketplacesuite(name = "Marketplace payouts", stopOnRequestFail = true): NodeConfigs( hardhat: HardhatConfig.none, clients: CodexConfigs.init(nodes = 1).some, - providers: CodexConfigs.init(nodes = 3) - # .debug() - # uncomment to enable console log output - # .withLogFile() - # uncomment to output log file to tests/integration/logs/ //_.log - # .withLogTopics("node", "marketplace", "sales", "reservations", "statemachine") - .some, + providers: CodexConfigs + .init(nodes = 3) + # .debug() + # uncomment to enable console log output + .withLogFile() + # uncomment to output log file to tests/integration/logs/ //_.log + .withLogTopics("node", "marketplace", "sales", "reservations", "statemachine").some, ): let data = await RandomChunker.example(blocks = blocks) let client0 = clients()[0] diff --git a/tests/integration/testsales.nim b/tests/integration/testsales.nim index 979a5581..e99e7872 100644 --- a/tests/integration/testsales.nim +++ b/tests/integration/testsales.nim @@ -20,11 +20,14 @@ proc findItem[T](items: seq[T], item: T): ?!T = marketplacesuite(name = "Sales", stopOnRequestFail = true): let salesConfig = NodeConfigs( clients: CodexConfigs.init(nodes = 1).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") - .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" + ).some, ) var host: CodexClient