From 82c52dcf7dd72cd48b123c67a9ed29bb7281d6a0 Mon Sep 17 00:00:00 2001 From: Vladimir Adamic Date: Thu, 30 Nov 2023 09:26:24 +0100 Subject: [PATCH] chore: adjust grpc exporter metrics test --- .../test/OTLPMetricExporter.test.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/test/OTLPMetricExporter.test.ts b/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/test/OTLPMetricExporter.test.ts index 0ecba0d8e95..79a6125a095 100644 --- a/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/test/OTLPMetricExporter.test.ts +++ b/experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/test/OTLPMetricExporter.test.ts @@ -328,10 +328,7 @@ describe('when configuring via environment', () => { const collectorExporter = new OTLPMetricExporter({ url: constructorDefinedEndpoint, }); - assert.strictEqual( - collectorExporter._otlpExporter.url, - constructorDefinedEndpoint - ); + assert.strictEqual(collectorExporter._otlpExporter.url, 'constructor'); envSource.OTEL_EXPORTER_OTLP_ENDPOINT = ''; }); it('should use headers defined via env', () => {