test: fix timing issue in signal test
authorBen Noordhuis <info@bnoordhuis.nl>
Fri, 20 Mar 2015 22:55:37 +0000 (23:55 +0100)
committerBen Noordhuis <info@bnoordhuis.nl>
Sun, 22 Mar 2015 23:55:34 +0000 (00:55 +0100)
commit10a9c005630b53a015a03bb813dbf4263fe78b5a
treef09ad5f5d20a1abce23706dceed50b401da9596f
parentcf081a471205345abeebc5ee06ed02493c6dbdf1
test: fix timing issue in signal test

Change sequential/test-signal-unregister so it doesn't use fixed
timeouts for sending the signal and expecting the child to quit.

Fixes: https://github.com/iojs/io.js/issues/1223
PR-URL: https://github.com/iojs/io.js/pull/1227
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
test/fixtures/should_exit.js
test/sequential/test-signal-unregister.js