Skip to content

Commit

Permalink
fixup: Disable unnecessary stdout logging
Browse files Browse the repository at this point in the history
  • Loading branch information
marun committed Feb 28, 2024
1 parent c11ec83 commit a3d799c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/load/load_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,8 @@ var _ = ginkgo.Describe("[Load Simulator]", ginkgo.Ordered, func() {
utils.NewTmpnetNetwork(
nodes,
tmpnet.FlagsMap{
// The default tmpnet log level (info/debug) induces too much overhead for load testing.
config.LogDisplayLevelKey: "error",
config.LogLevelKey: "info",
// The default tmpnet log level (debug) induces too much overhead for load testing.
config.LogLevelKey: "info",
},
utils.NewTmpnetSubnet(subnetAName, genesisPath, chainConfig, nodes...),
),
Expand Down
2 changes: 2 additions & 0 deletions tests/utils/tmpnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ func NewTmpnetNetwork(nodes []*tmpnet.Node, flags tmpnet.FlagsMap, subnets ...*t
defaultFlags := tmpnet.FlagsMap{}
defaultFlags.SetDefaults(flags)
defaultFlags.SetDefaults(tmpnet.FlagsMap{
// Remove when vendored tmpnet default is `off`. tmpnet nodes are run headless so stdout logging is unnecessary.
config.LogDisplayLevelKey: "off",
config.ProposerVMUseCurrentHeightKey: true,
})
return &tmpnet.Network{
Expand Down

0 comments on commit a3d799c

Please sign in to comment.