|
51 | 51 | import org.junit.jupiter.api.BeforeAll; |
52 | 52 | import org.junit.jupiter.api.Test; |
53 | 53 | import org.junit.jupiter.api.Timeout; |
| 54 | +import org.junit.jupiter.params.ParameterizedTest; |
| 55 | +import org.junit.jupiter.params.provider.CsvSource; |
54 | 56 | import org.tabletest.junit.TableTest; |
55 | 57 |
|
56 | 58 | @Timeout(value = 10, unit = TimeUnit.SECONDS) |
@@ -407,12 +409,12 @@ void verifyConfigurationPollingWithCustomTags( |
407 | 409 | + " \"tracing_enabled\": false}}'"; |
408 | 410 |
|
409 | 411 | @TableTest({ |
410 | | - "scenario | json | expectedValue ", |
411 | | - "tracing disabled | '{\"lib_config\":{\"tracing_enabled\": false}}' | false ", |
412 | | - "tracing enabled | '{\"lib_config\":{\"tracing_enabled\": true}}' | true ", |
413 | | - "action with tracing disabled | ", |
414 | | - " | false " |
| 412 | + "scenario | json | expectedValue", |
| 413 | + "tracing disabled | '{\"lib_config\":{\"tracing_enabled\": false}}' | false ", |
| 414 | + "tracing enabled | '{\"lib_config\":{\"tracing_enabled\": true}}' | true " |
415 | 415 | }) |
| 416 | + @ParameterizedTest |
| 417 | + @CsvSource(delimiter = '|', value = "action with tracing disabled | " + ACTION_JSON + " | false") |
416 | 418 | void verifyConfigurationPollingWithTracingEnabled( |
417 | 419 | String scenario, String json, boolean expectedValue) throws Exception { |
418 | 420 | ParsedConfigKey key = ParsedConfigKey.parse("datadog/2/APM_TRACING/config_overrides/config"); |
|
0 commit comments