From f1f9d7a825d56edc29e113b71746fd0513e9fb67 Mon Sep 17 00:00:00 2001 From: Eric <5089238+emizzle@users.noreply.github.com> Date: Wed, 22 Nov 2023 15:35:24 +1100 Subject: [PATCH] debugging in ci enable writing to log file --- tests/integration/testproofs.nim | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/integration/testproofs.nim b/tests/integration/testproofs.nim index 9859679d..6e52ebf5 100644 --- a/tests/integration/testproofs.nim +++ b/tests/integration/testproofs.nim @@ -23,14 +23,14 @@ marketplacesuite "Hosts submit regular proofs": NodeConfig() .nodes(1) .debug() # uncomment to enable console log output - # .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log + .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log .withLogTopics("node"), providers: NodeConfig() .nodes(1) .debug() # uncomment to enable console log output - # .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log + .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log .withLogTopics("marketplace", "sales", "reservations", "node", "clock"), ): let client0 = clients()[0].node.client @@ -72,7 +72,7 @@ marketplacesuite "Simulate invalid proofs": NodeConfig() .nodes(1) .debug() # uncomment to enable console log output - # .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log + .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log .withLogTopics("node"), providers: @@ -80,13 +80,13 @@ marketplacesuite "Simulate invalid proofs": .nodes(1) .simulateProofFailuresFor(providerIdx=0, failEveryNProofs=1) .debug() # uncomment to enable console log output - # .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log + .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log .withLogTopics("marketplace", "sales", "reservations", "node", "clock"), validators: NodeConfig() .nodes(1) - # .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log + .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log .debug() # uncomment to enable console log output .withLogTopics("validator", "clock", "onchain", "ethers") ): @@ -124,7 +124,7 @@ marketplacesuite "Simulate invalid proofs": NodeConfig() .nodes(1) .debug() # uncomment to enable console log output - # .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log + .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log .withLogTopics("node"), providers: @@ -132,13 +132,13 @@ marketplacesuite "Simulate invalid proofs": .nodes(1) .simulateProofFailuresFor(providerIdx=0, failEveryNProofs=3) .debug() # uncomment to enable console log output - # .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log + .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log .withLogTopics("marketplace", "sales", "reservations", "node", "clock"), validators: NodeConfig() .nodes(1) - # .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log + .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log .withLogTopics("validator", "clock", "onchain", "ethers") ): let client0 = clients()[0].node.client @@ -176,7 +176,7 @@ marketplacesuite "Simulate invalid proofs": NodeConfig() .nodes(1) .debug() # uncomment to enable console log output.debug() - # .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log + .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log .withLogTopics("node", "erasure"), providers: @@ -184,13 +184,13 @@ marketplacesuite "Simulate invalid proofs": .nodes(2) .simulateProofFailuresFor(providerIdx=0, failEveryNProofs=2) .debug() # uncomment to enable console log output - # .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log + .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log .withLogTopics("marketplace", "sales", "reservations", "node", "clock"), validators: NodeConfig() .nodes(1) - # .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log + .withLogFile() # uncomment to output log file to tests/integration/logs/ //_.log .withLogTopics("validator") ): let client0 = clients()[0].node.client