Skip to content

Commit abb12d3

Browse files
committed
fix(utils): extend ignored errors for testnet
Extended the list of ignored errors for testnet to include TracePromoteWarmBigLedgerPeerAborted. This helps in handling additional error scenarios where clients might be old or using incorrect network magic.
1 parent 35ea3ed commit abb12d3

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

cardano_node_tests/utils/logfiles.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,14 @@
6969
ERRORS_IGNORED.append("TraceBlockFromFuture")
7070

7171
if cluster_nodes.get_cluster_type().type == cluster_nodes.ClusterType.TESTNET:
72-
# We can get these errors on testnets when some clients are old, or are using wrong
73-
# network magic.
74-
ERRORS_IGNORED.append("TrHandshakeClientError")
72+
ERRORS_IGNORED.extend(
73+
(
74+
# We can get this error when some clients are old, or are using wrong
75+
# network magic.
76+
"TrHandshakeClientError",
77+
"TracePromoteWarmBigLedgerPeerAborted",
78+
)
79+
)
7580

7681
# Errors that are ignored if there are expected messages in the log file before the error
7782
ERRORS_LOOK_BACK_LINES = 10

0 commit comments

Comments
 (0)