testutil: error instead of panic
This commit is contained in:
parent
6851b36e88
commit
4f2f9534c4
|
@ -215,7 +215,7 @@ func (s *TestServer) Stop() {
|
||||||
|
|
||||||
cmd := exec.Command("kill", "-9", fmt.Sprintf("%d", s.PID))
|
cmd := exec.Command("kill", "-9", fmt.Sprintf("%d", s.PID))
|
||||||
if err := cmd.Run(); err != nil {
|
if err := cmd.Run(); err != nil {
|
||||||
panic(err)
|
s.t.Errorf("err: %s", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue