This commit is contained in:
fatedier 2018-01-17 01:18:40 +08:00
parent afde0c515c
commit 9a5f0c23c4

View File

@ -17,5 +17,5 @@ func TestShutdown(t *testing.T) {
time.Sleep(time.Millisecond) time.Sleep(time.Millisecond)
s.Done() s.Done()
}() }()
s.WaitDown() s.WaitDone()
} }