Skip to content

Commit 6bd21d0

Browse files
committed
fix: ignore coderd log errors
- This is the source of a lot of our flakes recently.
1 parent fce14fb commit 6bd21d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/coderdtest/coderdtest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ func NewOptions(t testing.TB, options *Options) (func(http.Handler), context.Can
204204
options = &Options{}
205205
}
206206
if options.Logger == nil {
207-
logger := slogtest.Make(t, nil).Leveled(slog.LevelDebug).Named("coderd")
207+
logger := slogtest.Make(t, &slogtest.Options{IgnoreErrors: true}).Leveled(slog.LevelDebug).Named("coderd")
208208
options.Logger = &logger
209209
}
210210
if options.GoogleTokenValidator == nil {

0 commit comments

Comments
 (0)