(t *testing.T)
| 184 | } |
| 185 | |
| 186 | func TestInstrumentationConfigValidateBasic(t *testing.T) { |
| 187 | cfg := TestInstrumentationConfig() |
| 188 | assert.NoError(t, cfg.ValidateBasic()) |
| 189 | |
| 190 | // tamper with maximum open connections |
| 191 | cfg.MaxOpenConnections = -1 |
| 192 | assert.Error(t, cfg.ValidateBasic()) |
| 193 | } |
| 194 | |
| 195 | func TestGetDefaultDBDir(t *testing.T) { |
| 196 | // Define the expected value |
nothing calls this directly
no test coverage detected