mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-03-20 11:13:21 +00:00
debugging in ci
- Add additional logging to purchasing - remove chronicles logging from multinodes - enable log topics in the integration test of interest
This commit is contained in:
parent
e6d025ca5b
commit
836a4cc067
@ -34,6 +34,7 @@ method run*(state: PurchaseSubmitted, machine: Machine): Future[?State] {.async.
|
||||
|
||||
proc withTimeout(future: Future[void]) {.async.} =
|
||||
let expiry = request.expiry.truncate(int64) + 1
|
||||
trace "waiting for request fulfillment or expiry", expiry
|
||||
await future.withTimeout(clock, expiry)
|
||||
|
||||
try:
|
||||
|
||||
@ -192,14 +192,6 @@ template multinodesuite*(name: string, body: untyped) =
|
||||
let node = startNode(options, config.debugEnabled)
|
||||
node.waitUntilStarted()
|
||||
|
||||
if config.debugEnabled:
|
||||
debug "started new integration testing node and codex client",
|
||||
role,
|
||||
apiUrl = node.apiUrl,
|
||||
discAddress = node.discoveryAddress,
|
||||
address = accounts[nodeIdx],
|
||||
cliOptions = config.cliOptions.join(",")
|
||||
|
||||
return node
|
||||
|
||||
proc clients(): seq[RunningNode] {.used.} =
|
||||
|
||||
@ -177,7 +177,7 @@ marketplacesuite "Simulate invalid proofs":
|
||||
.nodes(1)
|
||||
.debug() # uncomment to enable console log output.debug()
|
||||
.withLogFile() # uncomment to output log file to tests/integration/logs/<start_datetime> <suite_name>/<test_name>/<node_role>_<node_idx>.log
|
||||
.withLogTopics("node", "erasure"),
|
||||
.withLogTopics("node", "erasure", "clock", "purchases"),
|
||||
|
||||
providers:
|
||||
NodeConfig()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user