From f773c06dc506cd19a7f83f6d23f439a0a2dbb70b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Antonio=20Fern=C3=A1ndez=20de=20Alba?= Date: Mon, 19 Jun 2023 09:55:38 +0200 Subject: [PATCH] Disable metrics.spec.js tests (part of tracing tests) for windows (#3250) --- packages/dd-trace/test/metrics.spec.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/dd-trace/test/metrics.spec.js b/packages/dd-trace/test/metrics.spec.js index d6fc9d170cc..b84ec1b15d4 100644 --- a/packages/dd-trace/test/metrics.spec.js +++ b/packages/dd-trace/test/metrics.spec.js @@ -2,7 +2,13 @@ require('./setup/tap') -describe('metrics', () => { +const os = require('os') + +const isWindows = os.platform() === 'win32' + +const suiteDescribe = isWindows ? describe.skip : describe + +suiteDescribe('metrics', () => { let metrics let config let clock