Skip to content

Commit

Permalink
Merge pull request #1003 from nats-io/fix_1002
Browse files Browse the repository at this point in the history
Fixed test comment and error message
  • Loading branch information
kozlovic committed Dec 31, 2019
2 parents d884137 + 194c87e commit 01ae38d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/signal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (sc *stderrCatcher) Write(p []byte) (n int, err error) {
}

func TestSignalTrapsSIGTERM(t *testing.T) {
// This test requires that the
// This test requires that the server be installed.
cmd := exec.Command("nats-streaming-server")
sc := &stderrCatcher{}
cmd.Stderr = sc
Expand All @@ -144,7 +144,7 @@ func TestSignalTrapsSIGTERM(t *testing.T) {
if ready {
return nil
}
return fmt.Errorf("process not started yet")
return fmt.Errorf("process not started yet, make sure you `go install` first!")
})
syscall.Kill(cmd.Process.Pid, syscall.SIGTERM)
cmd.Wait()
Expand Down

0 comments on commit 01ae38d

Please sign in to comment.