@@ -441,7 +441,7 @@ test('TransactionShim', async function (t) {
441
441
assert . ok ( ! segment . catTransaction )
442
442
assert . ok ( ! segment . getAttributes ( ) . transaction_guid )
443
443
444
- shim . handleMqTracingHeaders ( headers , segment , tx )
444
+ shim . handleMqTracingHeaders ( headers , segment , null , tx )
445
445
446
446
assert . ok ( ! tx . incomingCatId )
447
447
assert . ok ( ! tx . referringTransactionGuid )
@@ -465,7 +465,7 @@ test('TransactionShim', async function (t) {
465
465
assert . ok ( ! segment . catTransaction )
466
466
assert . ok ( ! segment . getAttributes ( ) . transaction_guid )
467
467
468
- shim . handleMqTracingHeaders ( headers , segment , tx )
468
+ shim . handleMqTracingHeaders ( headers , segment , null , tx )
469
469
470
470
assert . ok ( ! tx . incomingCatId )
471
471
assert . ok ( ! tx . referringTransactionGuid )
@@ -488,7 +488,7 @@ test('TransactionShim', async function (t) {
488
488
assert . ok ( ! segment . getAttributes ( ) . transaction_guid )
489
489
490
490
assert . doesNotThrow ( function ( ) {
491
- shim . handleMqTracingHeaders ( null , segment , tx )
491
+ shim . handleMqTracingHeaders ( null , segment , null , tx )
492
492
} )
493
493
494
494
assert . ok ( ! tx . incomingCatId )
@@ -516,7 +516,7 @@ test('TransactionShim', async function (t) {
516
516
517
517
helper . runInTransaction ( agent , shim . BG , function ( tx2 ) {
518
518
assert . notEqual ( tx2 , tx )
519
- shim . handleMqTracingHeaders ( headers , segment , tx )
519
+ shim . handleMqTracingHeaders ( headers , segment , null , tx )
520
520
} )
521
521
522
522
assert . equal ( tx . incomingCatId , '9876#id' )
@@ -541,7 +541,7 @@ test('TransactionShim', async function (t) {
541
541
assert . ok ( ! tx . tripId )
542
542
assert . ok ( ! tx . referringPathHash )
543
543
544
- shim . handleMqTracingHeaders ( headers , null , tx )
544
+ shim . handleMqTracingHeaders ( headers )
545
545
546
546
assert . equal ( tx . incomingCatId , '9876#id' )
547
547
assert . equal ( tx . referringTransactionGuid , 'trans id' )
@@ -568,7 +568,7 @@ test('TransactionShim', async function (t) {
568
568
569
569
helper . runInTransaction ( agent , shim . BG , function ( tx2 ) {
570
570
assert . notEqual ( tx2 , tx )
571
- shim . handleMqTracingHeaders ( headers , segment , tx )
571
+ shim . handleMqTracingHeaders ( headers , segment , null , tx )
572
572
} )
573
573
574
574
assert . equal ( tx . incomingCatId , '9876#id' )
@@ -592,7 +592,7 @@ test('TransactionShim', async function (t) {
592
592
helper . runInTransaction ( agent , function ( tx ) {
593
593
const headers = { traceparent, tracestate }
594
594
const segment = shim . getSegment ( )
595
- shim . handleMqTracingHeaders ( headers , segment , tx )
595
+ shim . handleMqTracingHeaders ( headers , segment )
596
596
597
597
const outboundHeaders = { }
598
598
tx . insertDistributedTraceHeaders ( outboundHeaders )
@@ -615,7 +615,7 @@ test('TransactionShim', async function (t) {
615
615
helper . runInTransaction ( agent , function ( tx ) {
616
616
const headers = { traceparent }
617
617
const segment = shim . getSegment ( )
618
- shim . handleMqTracingHeaders ( headers , segment , tx )
618
+ shim . handleMqTracingHeaders ( headers , segment , null , tx )
619
619
620
620
const outboundHeaders = { }
621
621
tx . insertDistributedTraceHeaders ( outboundHeaders )
@@ -638,7 +638,7 @@ test('TransactionShim', async function (t) {
638
638
helper . runInTransaction ( agent , function ( tx ) {
639
639
const headers = { traceparent, tracestate }
640
640
const segment = shim . getSegment ( )
641
- shim . handleMqTracingHeaders ( headers , segment , tx )
641
+ shim . handleMqTracingHeaders ( headers , segment , null , tx )
642
642
643
643
const outboundHeaders = { }
644
644
tx . insertDistributedTraceHeaders ( outboundHeaders )
@@ -660,7 +660,7 @@ test('TransactionShim', async function (t) {
660
660
helper . runInTransaction ( agent , function ( tx ) {
661
661
const headers = { traceparent, tracestate }
662
662
const segment = shim . getSegment ( )
663
- shim . handleMqTracingHeaders ( headers , segment , tx )
663
+ shim . handleMqTracingHeaders ( headers , segment , null , tx )
664
664
665
665
const outboundHeaders = { }
666
666
tx . insertDistributedTraceHeaders ( outboundHeaders )
@@ -687,7 +687,7 @@ test('TransactionShim', async function (t) {
687
687
688
688
helper . runInTransaction ( agent , shim . BG , function ( tx2 ) {
689
689
assert . notEqual ( tx2 , tx )
690
- shim . handleMqTracingHeaders ( headers , segment , tx2 )
690
+ shim . handleMqTracingHeaders ( headers , segment , null , tx2 )
691
691
} )
692
692
693
693
assert . equal ( segment . catId , '6789#app' )
@@ -712,7 +712,7 @@ test('TransactionShim', async function (t) {
712
712
assert . ok ( ! segment . catTransaction )
713
713
assert . ok ( ! segment . getAttributes ( ) . transaction_guid )
714
714
715
- shim . handleMqTracingHeaders ( headers , null , tx )
715
+ shim . handleMqTracingHeaders ( headers , null , null , tx )
716
716
717
717
assert . equal ( segment . catId , '6789#app' )
718
718
assert . equal ( segment . catTransaction , 'app data transaction name' )
@@ -738,7 +738,7 @@ test('TransactionShim', async function (t) {
738
738
739
739
helper . runInTransaction ( agent , shim . BG , function ( tx2 ) {
740
740
assert . notEqual ( tx2 , tx )
741
- shim . handleMqTracingHeaders ( headers , segment , tx2 )
741
+ shim . handleMqTracingHeaders ( headers , segment , null , tx2 )
742
742
} )
743
743
744
744
assert . equal ( segment . catId , '6789#app' )
@@ -764,7 +764,7 @@ test('TransactionShim', async function (t) {
764
764
assert . ok ( ! segment . catTransaction )
765
765
assert . ok ( ! segment . getAttributes ( ) . transaction_guid )
766
766
767
- shim . handleMqTracingHeaders ( headers , null , tx )
767
+ shim . handleMqTracingHeaders ( headers , null , null , tx )
768
768
769
769
assert . ok ( ! segment . catId )
770
770
assert . ok ( ! segment . catTransaction )
0 commit comments