Skip to content

Commit 2bab72d

Browse files
committed
fixed test
1 parent 0fbee76 commit 2bab72d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/node/opentelemetry-instrumentation-aws-lambda/test/integrations/lambda-handler.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ describe('lambda handler', () => {
534534
});
535535

536536
it('can extract context from lambda context env variable using a global propagator', async () => {
537-
process.env[traceContextEnvironmentKey] = sampledAwsHeader;
537+
process.env['_X_AMZN_TRACE_ID'] = sampledAwsHeader;
538538
propagation.setGlobalPropagator(new AWSXRayLambdaPropagator());
539539
initializeHandler('lambda-test/async.handler');
540540

0 commit comments

Comments
 (0)