Skip to content

Commit 85b4812

Browse files
authored
chore(e2e): Remove check on http.response_content_length_uncompressed (#18536)
This comes strictly from OTel and we don't really need to assert on it, it's unreliable and flaky. Closes #18537 (added automatically)
1 parent 816b8e3 commit 85b4812

File tree

1 file changed

+2
-3
lines changed
  • dev-packages/e2e-tests/test-applications/node-express-esm-preload/tests

1 file changed

+2
-3
lines changed

dev-packages/e2e-tests/test-applications/node-express-esm-preload/tests/server.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,11 @@ test('Should record spans from http instrumentation', async ({ request }) => {
131131
expect(httpClientSpan).toEqual({
132132
span_id: expect.stringMatching(/[a-f0-9]{16}/),
133133
trace_id: expect.stringMatching(/[a-f0-9]{32}/),
134-
data: {
134+
data: expect.objectContaining({
135135
'http.flavor': '1.1',
136136
'http.host': 'example.com:80',
137137
'http.method': 'GET',
138138
'http.response.status_code': 200,
139-
'http.response_content_length_uncompressed': expect.any(Number),
140139
'http.status_code': 200,
141140
'http.status_text': 'OK',
142141
'http.target': '/',
@@ -149,7 +148,7 @@ test('Should record spans from http instrumentation', async ({ request }) => {
149148
'sentry.op': 'http.client',
150149
'sentry.origin': 'auto.http.otel.http',
151150
url: 'http://example.com/',
152-
},
151+
}),
153152
description: 'GET http://example.com/',
154153
parent_span_id: expect.stringMatching(/[a-f0-9]{16}/),
155154
start_timestamp: expect.any(Number),

0 commit comments

Comments
 (0)