test: Updated match
to fail if you pass in an object that lacks the…
#2154
Annotations
1 warning and 11 notices
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run ESM Integration Tests
Total Tests: 1
Suites 📂: 0
Passed ✅: 1
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 404.917ms
|
Run Integration Tests:
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
If a New Relic agent started a trace, and then a non-New
Relic tracer propagated the trace, then the traceparent span ID would
updated by the non-New Relic tracer, but not the span ID in the New
Relic tracestate entry
|
Run Integration Tests:
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
If the parent is a New Relic agent with span events disabled it SHOULD omit span
id from the tracestate. This verifies agents propagate Trace Context payloads when the
parent is a New Relic agent with span events disabled
|
Run Integration Tests:
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
the transaction must be marked sampled=true so a Span event is created
|
|
Run Integration Tests:
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
If the new relic payload's version is higher than 0, with extra new fields, all
the existing fields should be read and used, and the extra future fields should
be ignored.
|
Run Integration Tests:
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
outbound newrelic headers are built from w3c headers, ignoring inbound newrelic headers
|
Run Integration Tests:
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
If the traceparent header is present on an inbound request, conforming agents MUST
ignore any newrelic header. If the traceparent header is invalid, a new trace MUST
be started. The newrelic header MUST be used _only_ when traceparent is _missing_.
|
Run Integration Tests:
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
Tests correct handling of newrelic headers
Agents may receive a traceId in upper-case, or shorter than 32 characters.
In this case, the traceId MUST be left-padded with zeros AND lower-cased
The outbound newrelic header, if configured, should include the traceId as-received.
|
Run Integration Tests:
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
With both spans and transaction events disabled, there will be no
events to verify intrinsics against. tracestate.span_id and
tracestate.transaction_id are not expected on outbound payloads.
|
Run Integration Tests:
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
Test a payload that originates from a serverless agent. The only
difference in the payload between a serverless and non-serverless agent
is the `appId` in the tracestate header will be 'Unknown'.
|
Loading