mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +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:
@ -1137,7 +1137,7 @@ func TestRunLoop(t *testing.T) {
|
||||
trap := clock.Trap().NewTicker()
|
||||
go reconciler.Run(ctx)
|
||||
// wait until ticker is initialized
|
||||
trap.MustWait(ctx).Release()
|
||||
trap.MustWait(ctx).MustRelease(ctx)
|
||||
// start 1st iteration of ReconciliationLoop
|
||||
// NOTE: at this point MustWait waits that iteration is started (ReconcileAll is called), but it doesn't wait until it completes
|
||||
clock.Advance(cfg.ReconciliationInterval.Value()).MustWait(ctx)
|
||||
|
Reference in New Issue
Block a user