Skip to content

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 21, 2012
1 parent aaca3ee commit a0daf67
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/simple/test-process-active-wraps.js
Original file line number Diff line number Diff line change
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 a0daf67

Please sign in to comment.