mirror of
https://github.com/coder/coder.git
synced 2025-07-18 14:17:22 +00:00
committed by
GitHub
parent
6377f17fda
commit
a0320f455a
@ -90,9 +90,10 @@ func TestNotifier(t *testing.T) {
|
||||
}
|
||||
var wg sync.WaitGroup
|
||||
go func() {
|
||||
defer wg.Done()
|
||||
n := notify.New(cond, testCase.Countdown...)
|
||||
defer n.Close()
|
||||
n.Poll(ch)
|
||||
wg.Done()
|
||||
}()
|
||||
wg.Add(1)
|
||||
for _, tick := range testCase.Ticks {
|
||||
|
Reference in New Issue
Block a user