diff --git a/sdk/testutil/server.go b/sdk/testutil/server.go index 63de0c4ba..b5d4de77e 100644 --- a/sdk/testutil/server.go +++ b/sdk/testutil/server.go @@ -342,7 +342,7 @@ func (s *TestServer) Stop() error { return err case <-time.After(10 * time.Second): s.cmd.Process.Signal(syscall.SIGABRT) - s.cmd.Wait() + <-waitDone return fmt.Errorf("timeout waiting for server to stop gracefully") } }