azer / prova

Test runner based on Tape and Browserify
Other
333 stars 30 forks source link

Prevents rogue browser process when using --launch --headless --quit #48

Closed jxson closed 9 years ago

jxson commented 9 years ago

On a CI box I noticed lots of chrome instances launched by prova still hanging around after tests exited. The commands used to launch the tests were:

prova test/test-*.js --browser --launch chrome --headless --quit

The change here attempts to send a SIGTERM signal to child process spawned by browser-launcher when the prova process exits.

azer commented 9 years ago

released as 1.15.0