From 55bc663927b8d89d97c8a322e83caee3a3084942 Mon Sep 17 00:00:00 2001 From: Marc Pichler Date: Mon, 25 Nov 2024 13:18:47 +0100 Subject: [PATCH] chore: skip test on windows --- .../test/grpc-exporter-transport.test.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/experimental/packages/otlp-grpc-exporter-base/test/grpc-exporter-transport.test.ts b/experimental/packages/otlp-grpc-exporter-base/test/grpc-exporter-transport.test.ts index 6121a873b58..5a7ee14e49a 100644 --- a/experimental/packages/otlp-grpc-exporter-base/test/grpc-exporter-transport.test.ts +++ b/experimental/packages/otlp-grpc-exporter-base/test/grpc-exporter-transport.test.ts @@ -389,6 +389,10 @@ describe('GrpcExporterTransport', function () { }; beforeEach(async function () { + // skip uds tests on windows + if (process.platform === 'win32') { + this.skip(); + } shutdownHandle = await startUdsServer(serverTestContext); }); @@ -403,11 +407,6 @@ describe('GrpcExporterTransport', function () { }); it('sends data', async function () { - // skip uds tests on windows - if (process.platform === 'win32') { - this.skip(); - } - const transport = createOtlpGrpcExporterTransport({ ...simpleClientConfig, address: 'unix:///tmp/otlp-test.sock',