Commit b5c9dcb6 authored by Colin Ihrig's avatar Colin Ihrig Committed by Evan Lucas
Browse files

win,test: fix test-process-active-wraps.js

b636ba81 broke this test, because it now takes a loop iteration or two
to resolve the loopback address. That consequence is that the TCPWrap
handle that we *don't* want to see is created a bit later, and also
destroyed later, so when we assert that the active handle list is empty
the TCPWrap object is still "busy" being closed.

Wait one extra loop iteration before checking there are no more active
handles. This allows name resolution and clean-up to finish before the
assertion.

BUG: https://github.com/iojs/io.js/issues/246
PR-URL: https://github.com/joyent/node/pull/8998


Reviewed-By: default avatarBert Belder <bertbelder@gmail.com>
parent c9fd9e21
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment