Skip to content

Commit 81a4ff2

Browse files
remove status msg
1 parent c956ade commit 81a4ff2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/run_integration_tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ for handler_name in "${LAMBDA_HANDLERS[@]}"; do
220220
# Normalize python-requests version
221221
sed -E "s/(User-Agent:python-requests\/)[0-9]+\.[0-9]+\.[0-9]+/\1X\.X\.X/g" |
222222
sed -E "s/(\"http.useragent\"\: \"python-requests\/)[0-9]+\.[0-9]+\.[0-9]+/\1X\.X\.X/g" |
223+
# ddtrace 4.x adds http.status_msg (derived from http.status_code); omit from snapshots
224+
sed '/"http\.status_msg"/d' |
223225
# Strip out trace/span/parent/timestamps
224226
sed -E "s/(\"trace_id\"\: \")[A-Z0-9\.\-]+/\1XXXX/g" |
225227
sed -E "s/(\"span_id\"\: \")[A-Z0-9\.\-]+/\1XXXX/g" |

0 commit comments

Comments
 (0)