Skip to content

Commit

Permalink
Merge pull request newrelic#173 from bizob2828/pare-down-aws-assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
bizob2828 committed Mar 20, 2023
2 parents 20ca9e8 + 05c0a97 commit d03061e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/versioned/v3/sns.tap.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ tap.test('SNS', (t) => {
)

t.test('should mark requests to be dt-disabled', (t) => {
t.plan(3)
t.plan(2)

helper.runInTransaction(async (tx) => {
const params = { Message: 'Hiya' }
Expand All @@ -186,10 +186,6 @@ tap.test('SNS', (t) => {
(next) => async (args) => {
const result = await next(args)
const headers = result.response.body.req._headers
t.notOk(
headers['x-new-relic-disable-dt'],
'should remove x-newrelic header in outbound instrumentation'
)
t.notOk(headers.traceparent, 'should not add traceparent header to request')
return result
},
Expand Down

0 comments on commit d03061e

Please sign in to comment.