Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 72bb1be

Browse files
committed
Remove TestNotifierPaused's unnecessarily fast fetch interval
Signed-off-by: Danny Kopping <[email protected]>
1 parent 24417c5 commit 72bb1be

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

coderd/notifications/notifications_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,8 +550,6 @@ func TestNotifierPaused(t *testing.T) {
550550
user := createSampleUser(t, db)
551551

552552
cfg := defaultNotificationsConfig(method)
553-
fetchInterval := time.Nanosecond // Let
554-
cfg.FetchInterval = *serpent.DurationOf(&fetchInterval)
555553
mgr, err := notifications.NewManager(cfg, db, createMetrics(), logger.Named("manager"))
556554
require.NoError(t, err)
557555
mgr.WithHandlers(map[database.NotificationMethod]notifications.Handler{method: handler})

0 commit comments

Comments
 (0)