cockroach-go
cockroach-go copied to clipboard
testserver: run cockroach with Pdeathsig on linux
trafficstars
If the test crashes for whatever reason and does not run the deferred cleanup, then we would like very much for the operating system to kill the subprocess. Linux has nice support for this.
I don't know why the SIGSEGV is happening but I stumbled upon this: https://github.com/golang/go/issues/27505#issuecomment-713706104
Do you think we need something like that? Do we need Setpgid=true?