From adbdf8fe9a6fad2613f983d2b83338fe138167e5 Mon Sep 17 00:00:00 2001 From: Abinet Date: Thu, 4 May 2023 13:47:05 -0700 Subject: [PATCH] fix: revert trace exporter test --- .../test/node/OTLPTraceExporter.test.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/experimental/packages/exporter-trace-otlp-proto/test/node/OTLPTraceExporter.test.ts b/experimental/packages/exporter-trace-otlp-proto/test/node/OTLPTraceExporter.test.ts index a4eccce2471..b149bac7d36 100644 --- a/experimental/packages/exporter-trace-otlp-proto/test/node/OTLPTraceExporter.test.ts +++ b/experimental/packages/exporter-trace-otlp-proto/test/node/OTLPTraceExporter.test.ts @@ -16,17 +16,17 @@ import { diag } from '@opentelemetry/api'; import { ExportResultCode } from '@opentelemetry/core'; -import { ReadableLogRecord } from '@opentelemetry/sdk-logs'; +import { ReadableSpan } from '@opentelemetry/sdk-trace-base' import * as assert from 'assert'; import * as http from 'http'; import * as sinon from 'sinon'; import { Stream, PassThrough } from 'stream'; import * as zlib from 'zlib'; -import { OTLPLogsExporter } from '../../src'; +import { OTLPTraceExporter } from '../../src'; import { - ensureExportLogServiceRequestIsSet, - ensureProtoLogIsCorrect, - mockedReadableLogRecord, + ensureExportTraceServiceRequestIsSet, + ensureProtoSpanIsCorrect, + mockedReadableSpan, MockedResponse, } from '../traceHelper'; import {