Skip to content

Commit

Permalink
Fix SendTelemetryHandler protocol error regex in check agent log (#3205)
Browse files Browse the repository at this point in the history
  • Loading branch information
maddieford authored Sep 5, 2024
1 parent b43e143 commit a12a6fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests_e2e/tests/lib/agent_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def get_errors(self) -> List[AgentLogRecord]:
# Reasons (first 5 errors): [ProtocolError] [Wireserver Exception] [ProtocolError] [Wireserver Failed] URI http://168.63.129.16/machine?comp=telemetrydata [HTTP Failed] Status Code 400: Traceback (most recent call last):
#
{
'message': r"(?s)\[ProtocolError\].*http://168.63.129.16/machine\?comp=telemetrydata.*Status Code 400",
'message': r"(?s)\[ProtocolError\].*http:\/\/168.63.129.16\/machine\?comp=telemetrydata.*Status Code 400",
'if': lambda r: r.thread == 'SendTelemetryHandler' and self._increment_counter("SendTelemetryHandler-telemetrydata-Status Code 400") < 2 # ignore unless there are 2 or more instances
},
#
Expand Down

0 comments on commit a12a6fb

Please sign in to comment.