change: update docs

This commit is contained in:
徐聪
2022-07-25 21:29:19 +08:00
parent 60a6aebbcb
commit 1c5039697a
14 changed files with 93 additions and 66 deletions
+2 -2
View File
@@ -126,13 +126,13 @@ func TestStopNotify(t *testing.T) {
close(r.doneChan)
}()
notifier := r.DoneNotify()
notifier := r.StopNotify()
select {
case <-notifier:
t.Fatalf("received unexpected stop notification")
default:
}
r.Stop()
r.gracefulStop()
select {
case <-notifier:
default: