From 376ca6740d2cf4bfea2d5b4327479397075c6e1b Mon Sep 17 00:00:00 2001 From: William Armiros Date: Tue, 21 Sep 2021 14:22:33 -0700 Subject: [PATCH] fixed force-flush tests --- .../test/integrations/lambda-handler.force-flush.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/node/opentelemetry-instrumentation-aws-lambda/test/integrations/lambda-handler.force-flush.test.ts b/plugins/node/opentelemetry-instrumentation-aws-lambda/test/integrations/lambda-handler.force-flush.test.ts index eba072b9b1..0dc32c63be 100644 --- a/plugins/node/opentelemetry-instrumentation-aws-lambda/test/integrations/lambda-handler.force-flush.test.ts +++ b/plugins/node/opentelemetry-instrumentation-aws-lambda/test/integrations/lambda-handler.force-flush.test.ts @@ -23,8 +23,8 @@ import { AwsLambdaInstrumentation } from '../../src'; import { BatchSpanProcessor, InMemorySpanExporter, -} from '@opentelemetry/tracing'; -import { NodeTracerProvider } from '@opentelemetry/node'; +} from '@opentelemetry/sdk-trace-base'; +import { NodeTracerProvider } from '@opentelemetry/sdk-trace-node'; import { Context } from 'aws-lambda'; import * as assert from 'assert'; import { ProxyTracerProvider, TracerProvider } from '@opentelemetry/api';