Please sign in to comment.
test: add --abort-on-timeout option to test.py
Currently, when a process times out, it is terminated by sending it the SIGTERM signal. Sending SIGBART instead allows the operating system to generate a core file that can be investigated later using post-mortem debuggers such as llnode or mdb_v8. This can be very useful when investigating flaky tests that time out, since in that case the failure is difficult to reproduce, and being able to look at a core file makes a big difference. With these changes, passing the --abort-on-timeout command line option to tools/test.py now sends SIGABRT to processes timing out on all platforms but Windows. PR-URL: #11086 Ref: #11026 Reviewed-By: James M Snell <firstname.lastname@example.org> Reviewed-By: Gibson Fahnestock <email@example.com> Reviewed-By: Sakthipriyan Vairamani <firstname.lastname@example.org> Reviewed-By: Santiago Gimeno <email@example.com> Reviewed-By: Ben Noordhuis <firstname.lastname@example.org> Reviewed-By: Colin Ihrig <email@example.com> Reviewed-By: Michael Dawson <firstname.lastname@example.org> Reviewed-By: Anna Henningsen <email@example.com>
- Loading branch information...