From aff95f8f71db13b00bc1b5146f87b72d873c2f24 Mon Sep 17 00:00:00 2001 From: Eric <5089238+emizzle@users.noreply.github.com> Date: Tue, 29 Oct 2024 20:56:01 +1100 Subject: [PATCH] debugging in ci --- tests/integration/codexprocess.nim | 4 ++-- tests/integration/testslotreservations.nim | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/integration/codexprocess.nim b/tests/integration/codexprocess.nim index 4e707549..e9b55f82 100644 --- a/tests/integration/codexprocess.nim +++ b/tests/integration/codexprocess.nim @@ -46,8 +46,8 @@ 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: - raiseAssert "failed to open codex log file, aborting" + without logContents =? logFile.readAllChars, error: + raiseAssert "failed to open codex log file, aborting, error: " & error.msg return logContents.contains(text) diff --git a/tests/integration/testslotreservations.nim b/tests/integration/testslotreservations.nim index 924a4620..44a01733 100644 --- a/tests/integration/testslotreservations.nim +++ b/tests/integration/testslotreservations.nim @@ -51,10 +51,7 @@ marketplacesuite "Slot reservations": var slotIdxFilled: seq[UInt256] = @[] proc onSlotFilled(event: SlotFilled) = slotIdxFilled.add event.slotIndex - proc onSlotReservationsFull(event: SlotReservationsFull) = - echo "Slot reservations full for slot ", event.slotIndex - let subscriptionFull = await marketplace.subscribe(SlotReservationsFull, onSlotReservationsFull) let subscription = await marketplace.subscribe(SlotFilled, onSlotFilled) # client requests storage but requires multiple slots to host the content @@ -74,4 +71,3 @@ marketplacesuite "Slot reservations": check logsDoNotContain(Role.Provider, "Nonce too high") await subscription.unsubscribe() - await subscriptionFull.unsubscribe()