debugging on ci
This commit is contained in:
parent
aff95f8f71
commit
838715beca
|
@ -46,8 +46,12 @@ method logFileContains*(node: CodexProcess, text: string): bool =
|
|||
without logFile =? config.logFile.?string:
|
||||
raiseAssert "codex node does have a --log-file option set (use .withLogFile())"
|
||||
|
||||
without logContents =? logFile.readAllChars, error:
|
||||
raiseAssert "failed to open codex log file, aborting, error: " & error.msg
|
||||
let resLogContents = logFile.readAllChars
|
||||
if resLogContents.isErr:
|
||||
# without logContents =? logFile.readAllChars:
|
||||
raiseAssert "failed to open codex log file, aborting (log path: " & logFile & ")"
|
||||
|
||||
let logContents = resLogContents.value
|
||||
|
||||
return logContents.contains(text)
|
||||
|
||||
|
|
|
@ -68,6 +68,7 @@ marketplacesuite "Slot reservations":
|
|||
# wait until all slots filled
|
||||
check eventually(slotIdxFilled.len == 5, timeout=expiry.int * 1000)
|
||||
|
||||
teardown:
|
||||
check logsDoNotContain(Role.Provider, "Nonce too high")
|
||||
|
||||
await subscription.unsubscribe()
|
||||
|
|
Loading…
Reference in New Issue