Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cardano_node_tests/tests/test_blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def test_pool_blocks( # noqa: C901
def _check_logs() -> None:
# Get info about forged blocks in queried epoch for the selected pool
forged_lines = logfiles.find_msgs_in_logs(
regex='"TraceForgedBlock"',
regex="Forge\\.Loop\\.ForgedBlock",
logfile=pool_log,
seek_offset=seek_offset,
timestamp=timestamp,
Expand All @@ -122,7 +122,7 @@ def _check_logs() -> None:
first_slot_this_ep = int(tip["slot"]) - int(tip["slotInEpoch"])
first_slot_queried_ep = first_slot_this_ep - (ep_num_after_queried * ep_length)
last_slot_queried_ep = first_slot_queried_ep + ep_length - 1
slots_pattern = re.compile(r'"slot",Number (\d+)\.0')
slots_pattern = re.compile(r"Forged block in slot (\d+)")
slots_when_forged = {
s
for m in forged_lines
Expand Down
2 changes: 2 additions & 0 deletions cardano_node_tests/utils/logfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
"ExceededTimeLimit",
"Failed to start all required subscriptions",
"TraceDidntAdoptBlock",
r"Forge\.Loop\.DidntAdoptBlock",
r"Startup\.RpcConfigUpdateError",
"failedScripts",
"closed when reading data, waiting on next header",
"IOException writev: resource vanished",
Expand Down
Loading