Skip to content

Commit 9aa3643

Browse files
authored
fix: skip UDS tests on windows
1 parent a0e209b commit 9aa3643

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

experimental/packages/exporter-logs-otlp-grpc/test/OTLPLogExporter.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,4 +352,5 @@ describe('when configuring via environment', () => {
352352
testCollectorExporter({ useTLS: true });
353353
testCollectorExporter({ useTLS: false });
354354
testCollectorExporter({ metadata });
355-
testCollectorExporter({ address: udsAddr });
355+
// skip UDS tests on windows
356+
process.platform !== 'win32' && testCollectorExporter({ address: udsAddr });

experimental/packages/exporter-trace-otlp-grpc/test/OTLPTraceExporter.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,4 +369,5 @@ describe('when configuring via environment', () => {
369369
testCollectorExporter({ useTLS: true });
370370
testCollectorExporter({ useTLS: false });
371371
testCollectorExporter({ metadata });
372-
testCollectorExporter({ address: udsAddr });
372+
// skip UDS tests on windows
373+
process.platform !== 'win32' && testCollectorExporter({ address: udsAddr });

experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/test/OTLPMetricExporter.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,4 +360,5 @@ describe('when configuring via environment', () => {
360360
testOTLPMetricExporter({ useTLS: true });
361361
testOTLPMetricExporter({ useTLS: false });
362362
testOTLPMetricExporter({ metadata });
363-
testOTLPMetricExporter({ address: udsAddr });
363+
// skip UDS tests on windows
364+
process.platform !== 'win32' && testOTLPMetricExporter({ address: udsAddr });

0 commit comments

Comments
 (0)