mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08: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:
@@ -423,7 +423,7 @@ func TestCryptoKeyCache(t *testing.T) {
|
||||
require.Equal(t, 2, ff.called)
|
||||
require.Equal(t, decodedSecret(t, newKey), key)
|
||||
|
||||
trapped.Release()
|
||||
trapped.MustRelease(ctx)
|
||||
wait.MustWait(ctx)
|
||||
require.Equal(t, 2, ff.called)
|
||||
trap.Close()
|
||||
|
||||
@@ -72,7 +72,7 @@ func TestRotator(t *testing.T) {
|
||||
require.Len(t, dbkeys, initialKeyLen)
|
||||
requireContainsAllFeatures(t, dbkeys)
|
||||
|
||||
trap.MustWait(ctx).Release()
|
||||
trap.MustWait(ctx).MustRelease(ctx)
|
||||
_, wait := clock.AdvanceNext()
|
||||
wait.MustWait(ctx)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user