From 4f2f9534c4bf701df7676aa75d157c9ef4b4d90b Mon Sep 17 00:00:00 2001 From: Ryan Uber Date: Wed, 22 Apr 2015 20:35:27 -0700 Subject: [PATCH] testutil: error instead of panic --- testutil/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testutil/server.go b/testutil/server.go index 96dc9c70e..202d53776 100644 --- a/testutil/server.go +++ b/testutil/server.go @@ -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) } }