mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-08 00:47:36 +08:00
change: update docs
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user