Skip to content

Commit 43c7afb

Browse files
committed
test: skipped
1 parent 06ffdfb commit 43c7afb

File tree

3 files changed

+1
-3
lines changed
  • packages

3 files changed

+1
-3
lines changed

packages/collector/test/tracing/protocols/http/client/test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,6 @@ function registerConnectionRefusalTest(appUsesHttps) {
10371037
span => expect(span.n).to.equal('node.http.client'),
10381038
span => expect(span.k).to.equal(constants.EXIT),
10391039
span => expect(span.ec).to.equal(1),
1040-
// Native fetch wraps connection errors with "fetch failed" message
10411040
span => expect(span.data.http.error).to.contains('Request cannot be constructed')
10421041
]);
10431042
})

packages/collector/test/tracing/protocols/http/proxy/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ const mochaSuiteFn = supportedVersion(process.versions.node) ? describe : descri
199199
agentControls.getSpans().then(spans => {
200200
// Note: With native fetch, a client span is created even for malformed URLs
201201
// because fetch returns a rejected promise rather than throwing synchronously.
202-
// This differs from node-fetch v2 behavior where no span was created.
202+
// This differs from node-fetch behavior where no span was created.
203203
// We expect 2 spans: 1 server span + 1 client span (with error)
204204
expect(spans).to.have.lengthOf(2);
205205

packages/opentelemetry-sampler/test/app.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ app.post('/otel-post', (_req, res) => {
8080
delay(500)
8181
.then(() => fetch('https://www.example.com'))
8282
.then(async response => {
83-
// Consume response body for proper span completion with native fetch
8483
await response.text();
8584
})
8685
.then(() => {

0 commit comments

Comments
 (0)