mirror of
https://github.com/coder/coder.git
synced 2025-07-08 11:39:50 +00:00
chore: update to coder/quartz v0.2.0 (#18007)
Upgrade to coder/quartz v0.2.0 including fixing up a minor API breaking change.
This commit is contained in:
@ -104,7 +104,7 @@ func TestNotifier(t *testing.T) {
|
||||
n := notify.New(cond, testCase.PollInterval, testCase.Countdown, notify.WithTestClock(mClock))
|
||||
defer n.Close()
|
||||
|
||||
trap.MustWait(ctx).Release() // ensure ticker started
|
||||
trap.MustWait(ctx).MustRelease(ctx) // ensure ticker started
|
||||
for i := 0; i < testCase.NTicks; i++ {
|
||||
interval, w := mClock.AdvanceNext()
|
||||
w.MustWait(ctx)
|
||||
|
Reference in New Issue
Block a user