testutil: error instead of panic

This commit is contained in:
Ryan Uber 2015-04-22 20:35:27 -07:00
parent 6851b36e88
commit 4f2f9534c4
1 changed files with 1 additions and 1 deletions

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)
}
}