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:
Spike Curtis
2025-05-27 16:05:03 +04:00
committed by GitHub
parent 9ada1232f3
commit 6c0bed0f53
17 changed files with 49 additions and 50 deletions

View File

@ -206,7 +206,7 @@ func TestCloserStack_Timeout(t *testing.T) {
defer close(closed)
uut.close(nil)
}()
trap.MustWait(ctx).Release()
trap.MustWait(ctx).MustRelease(ctx)
// top starts right away, but it hangs
testutil.TryReceive(ctx, t, ac[2].started)
// timer pops and we start the middle one