Skip to content

Commit

Permalink
chore: disable stack traces in systests (#6086)
Browse files Browse the repository at this point in the history
## Motivation

This PR disables the stack traces in sys tests. If necessary they could be turned back on again.
<!-- Give a brief description of the motivation for this PR. 1-2 sentences is fine. -->
  • Loading branch information
acud committed Jun 28, 2024
1 parent 4b3aea8 commit 45f9a55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion systest/testcontext/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,8 @@ func New(t *testing.T, opts ...Opt) *Context {
ns = "test-" + rngName()
}
clSize := clusterSize.Get(p)
logger := zaptest.NewLogger(t, zaptest.WrapOptions(zap.IncreaseLevel(logLevel), zap.AddCaller()))
logger := zaptest.NewLogger(t, zaptest.WrapOptions(zap.IncreaseLevel(logLevel), zap.AddCaller(),
zap.AddStacktrace(zap.FatalLevel)))
cctx := &Context{
Context: ctx,
Parameters: p,
Expand Down

0 comments on commit 45f9a55

Please sign in to comment.