testutil: error instead of panic

This commit is contained in:
Ryan Uber 2015-04-22 20:35:27 -07:00
parent a0e3b10a19
commit b48e4a21f6

View File

@ -215,7 +215,7 @@ func (s *TestServer) Stop() {
cmd := exec.Command("kill", "-9", fmt.Sprintf("%d", s.PID))
if err := cmd.Run(); err != nil {
panic(err)
s.t.Errorf("err: %s", err)
}
}