e2e: more debugging output for lock and elect etcdctl tests
Meant to debug #6464 and #6934 Dumps the output from the etcd/etcdctl servers and SIGQUITs to get a golang backtrace in case of a hanged process.
This commit is contained in:
@ -553,3 +553,11 @@ func (epc *etcdProcessCluster) grpcEndpoints() []string {
|
||||
}
|
||||
return eps
|
||||
}
|
||||
|
||||
func (epc *etcdProcessCluster) withStopSignal(sig os.Signal) os.Signal {
|
||||
ret := epc.procs[0].proc.StopSignal
|
||||
for _, p := range epc.procs {
|
||||
p.proc.StopSignal = sig
|
||||
}
|
||||
return ret
|
||||
}
|
||||
|
Reference in New Issue
Block a user