Skip to content

Commit b967f47

Browse files
committed
fixup! fix tests
1 parent b705b69 commit b967f47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/prometheusmetrics/prometheusmetrics_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ func TestAgents(t *testing.T) {
312312
// when
313313
closeFunc, err := prometheusmetrics.Agents(ctx, slogtest.Make(t, &slogtest.Options{
314314
IgnoreErrors: true,
315-
}), registry, db, &coordinatorPtr, derpMap, agentInactiveDisconnectTimeout, time.Second)
315+
}), registry, db, &coordinatorPtr, derpMap, agentInactiveDisconnectTimeout, 50*time.Millisecond)
316316
require.NoError(t, err)
317317
t.Cleanup(closeFunc)
318318

0 commit comments

Comments
 (0)