Browse Source

test: fix simple/test-process-active-wraps

Said test relies a great deal on internals and implementation details (I should
know, I wrote it). Patch it up to work with libuv's new refcounting scheme.
v0.9.1-release
Ben Noordhuis 13 years ago
parent
commit
989ae81c71
  1. 6
      test/simple/test-process-active-wraps.js

6
test/simple/test-process-active-wraps.js

@ -48,7 +48,9 @@ function expect(activeHandles, activeRequests) {
process.nextTick(function() {
process.nextTick(function() {
// the handles should be gone but the connect req could still be alive
assert.equal(process._getActiveHandles().length, 0);
process.nextTick(function() {
// the handles should be gone but the connect req could still be alive
assert.equal(process._getActiveHandles().length, 0);
});
});
});

Loading…
Cancel
Save