test: fix domain-top-level-error-handler-throw
authorSantiago Gimeno <santiago.gimeno@gmail.com>
Sun, 20 Dec 2015 12:21:35 +0000 (13:21 +0100)
committerMyles Borins <mborins@us.ibm.com>
Tue, 19 Jan 2016 19:52:22 +0000 (11:52 -0800)
commit9a0f156e5ac71960ac85b7be1d9cd6b0a601f2d0
tree03fc187b8c71f7f2b899ce76c2306ac41c004c28
parent6bc1b1c259d39b4f48becc7ff2692966cd749fb3
test: fix domain-top-level-error-handler-throw

Check the stderr output in the `close` event as it's not guaranteed to
be fully available when the `exit` event is fired.

PR: #4364
PR-URL: https://github.com/nodejs/node/pull/4364
Reviewed-By: Julien Gilli <jgilli@fastmail.fm>
test/parallel/test-domain-top-level-error-handler-throw.js