From 5ebab4cd37933c8d06a810148e469856916f0a1d Mon Sep 17 00:00:00 2001 From: simov Date: Sat, 11 Apr 2015 15:10:19 +0300 Subject: [PATCH] Skip agentOptions tests when running under istanbul --- tests/test-agentOptions.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test-agentOptions.js b/tests/test-agentOptions.js index 665e7408c..97cf46f6d 100644 --- a/tests/test-agentOptions.js +++ b/tests/test-agentOptions.js @@ -1,5 +1,11 @@ 'use strict' +if (process.env.running_under_istanbul) { + // test-agent.js modifies the process state + // causing these tests to fail when running under single process via tape + return +} + var request = require('../index') , http = require('http') , server = require('./server')