(t *testing.T)
| 179 | } |
| 180 | |
| 181 | func 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 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…