Skip to content

Commit

Permalink
testing: use debug level logging in testing
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjan committed Apr 17, 2024
1 parent 743b2a8 commit 8c98f40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion internal/test/e2e/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ type testClusterOptions struct {

// newTestLogger creates a console logger used for testing.
func newTestLogger() *zap.Logger {
return newTestLoggerCustom(zapcore.ErrorLevel)
return newTestLoggerCustom(zapcore.DebugLevel)
}

// newTestLoggerCustom creates a console logger used for testing and allows
Expand Down
12 changes: 3 additions & 9 deletions internal/test/e2e/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1453,9 +1453,7 @@ func TestWalletTransactions(t *testing.T) {
t.SkipNow()
}

cluster := newTestCluster(t, testClusterOptions{
logger: newTestLoggerCustom(zapcore.DebugLevel),
})
cluster := newTestCluster(t, clusterOptsDefault)
defer cluster.Shutdown()
b := cluster.Bus
tt := cluster.tt
Expand Down Expand Up @@ -1709,9 +1707,7 @@ func TestWallet(t *testing.T) {
t.SkipNow()
}

cluster := newTestCluster(t, testClusterOptions{
logger: newTestLoggerCustom(zapcore.DebugLevel),
})
cluster := newTestCluster(t, clusterOptsDefault)
defer cluster.Shutdown()
b := cluster.Bus
tt := cluster.tt
Expand Down Expand Up @@ -1916,9 +1912,7 @@ func TestAlerts(t *testing.T) {
t.SkipNow()
}

cluster := newTestCluster(t, testClusterOptions{
logger: newTestLoggerCustom(zapcore.DebugLevel),
})
cluster := newTestCluster(t, clusterOptsDefault)
defer cluster.Shutdown()
b := cluster.Bus
tt := cluster.tt
Expand Down

0 comments on commit 8c98f40

Please sign in to comment.