mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +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:
@ -276,8 +276,8 @@ func TestPendingUpdatesMetric(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
|
||||
mgr.Run(ctx)
|
||||
trap.MustWait(ctx).Release() // ensures ticker has been set
|
||||
fetchTrap.MustWait(ctx).Release()
|
||||
trap.MustWait(ctx).MustRelease(ctx) // ensures ticker has been set
|
||||
fetchTrap.MustWait(ctx).MustRelease(ctx)
|
||||
|
||||
// Advance to the first fetch
|
||||
mClock.Advance(cfg.FetchInterval.Value()).MustWait(ctx)
|
||||
|
@ -341,8 +341,8 @@ func TestBackpressure(t *testing.T) {
|
||||
|
||||
// Start the notifier.
|
||||
mgr.Run(ctx)
|
||||
syncTrap.MustWait(ctx).Release()
|
||||
fetchTrap.MustWait(ctx).Release()
|
||||
syncTrap.MustWait(ctx).MustRelease(ctx)
|
||||
fetchTrap.MustWait(ctx).MustRelease(ctx)
|
||||
|
||||
// THEN:
|
||||
|
||||
|
Reference in New Issue
Block a user