From 4e88243919dbb56b081a22a81616c55ac41458b4 Mon Sep 17 00:00:00 2001 From: Christopher Hiller Date: Wed, 21 Sep 2016 22:11:23 -0700 Subject: [PATCH] attempt windows-friendly reproducible case for #2315 --- test/integration/fixtures/regression/issue-2315.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/integration/fixtures/regression/issue-2315.js b/test/integration/fixtures/regression/issue-2315.js index d3d1f9363c..cdfb201059 100644 --- a/test/integration/fixtures/regression/issue-2315.js +++ b/test/integration/fixtures/regression/issue-2315.js @@ -1,6 +1,8 @@ describe('issue-2315: cannot read property currentRetry of undefined', function () { before(function () { - require('http').createServer().listen(1); + process.nextTick(function () { + throw new Error(); + }); }); it('something', function () {});