Skip to content

Commit

Permalink
Merge pull request #2660 from IntersectMBO/ignore_testnet_handshake_e…
Browse files Browse the repository at this point in the history
…rror

fix(logfiles): ignore handshake errors on testnet
  • Loading branch information
mkoura authored Oct 1, 2024
2 parents b9cf4c2 + c49456b commit 103a0c1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cardano_node_tests/utils/logfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@
# We sometimes see this error on CI. It seems time is not synced properly on GitHub runners.
ERRORS_IGNORED.append("TraceBlockFromFuture")

if cluster_nodes.get_cluster_type().type == cluster_nodes.ClusterType.TESTNET:
# We can get these errors on testnets when some clients are old, or are using wrong
# network magic.
ERRORS_IGNORED.append("TrHandshakeClientError")

# Errors that are ignored if there are expected messages in the log file before the error
ERRORS_LOOK_BACK_LINES = 10
ERRORS_LOOK_BACK_MAP = {
Expand Down

0 comments on commit 103a0c1

Please sign in to comment.