Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
test: fix simple/test-process-active-wraps
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bnoordhuis committed May 22, 2012
1 parent 039fac6 commit 989ae81
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/simple/test-process-active-wraps.js
Expand Up @@ -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);
});
});
});

0 comments on commit 989ae81

Please sign in to comment.