test: don't call process.exit() in debugger tests
authorBen Noordhuis <info@bnoordhuis.nl>
Fri, 6 Sep 2013 00:44:16 +0000 (02:44 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Fri, 6 Sep 2013 02:40:24 +0000 (04:40 +0200)
commit81655a224a36948291e1f21f03273b5b604b7e6a
tree28ef2035d03e103524b45c739b84756a2ecc6bf7
parentaaf4f8d685fcb90a82d626e1218b67b3d5aa1c9b
test: don't call process.exit() in debugger tests

process.exit() tends to hide bugs, both in tests and node.js.
Rewrite the tests so that the event loop exits naturally.
test/fixtures/clustered-server/app.js
test/simple/test-debug-cluster.js
test/simple/test-debug-port-cluster.js