Skip to content

Commit 87b065b

Browse files
committed
fixup! steven comments and test fix
1 parent cd77138 commit 87b065b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

coderd/provisionerdserver/provisionerdserver_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,6 +1531,10 @@ func setup(t *testing.T, ignoreLogErrors bool) *provisionerdserver.Server {
15311531
UserQuietHoursScheduleStore: testUserQuietHoursScheduleStore(),
15321532
Tracer: trace.NewNoopTracerProvider().Tracer("noop"),
15331533
DeploymentValues: &codersdk.DeploymentValues{},
1534+
1535+
// Negative values cause the debounce to never kick in. Tests that want
1536+
// to test debounce can override this value.
1537+
AcquireJobDebounce: -time.Minute,
15341538
}
15351539
}
15361540

0 commit comments

Comments
 (0)