MCPcopy Create free account
hub / github.com/tendermint/tendermint / TestInstrumentationConfigValidateBasic

Function TestInstrumentationConfigValidateBasic

config/config_test.go:181–188  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

179}
180
181func TestInstrumentationConfigValidateBasic(t *testing.T) {
182 cfg := TestInstrumentationConfig()
183 assert.NoError(t, cfg.ValidateBasic())
184
185 // tamper with maximum open connections
186 cfg.MaxOpenConnections = -1
187 assert.Error(t, cfg.ValidateBasic())
188}

Callers

nothing calls this directly

Calls 3

ValidateBasicMethod · 0.65
ErrorMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…