Skip to content

Commit c9eabca

Browse files
committed
fix: disable logs on benchmarks
1 parent f27ec78 commit c9eabca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

security/hooks_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ func TestRunSecurityHooksSuite(t *testing.T) {
277277
// Benchmarks
278278

279279
func BenchmarkDecodeHook_NoopSecurity(b *testing.B) {
280+
log.Logger = log.Output(zerolog.Nop())
280281
data := map[string]any{
281282
"type": "noop",
282283
"specs": map[string]any{},

0 commit comments

Comments
 (0)