Skip to content

Commit 16eb292

Browse files
committed
fix with csv source
1 parent ad5d7c7 commit 16eb292

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

dd-trace-core/src/test/java/datadog/trace/core/CoreTracerTest.java

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151
import org.junit.jupiter.api.BeforeAll;
5252
import org.junit.jupiter.api.Test;
5353
import org.junit.jupiter.api.Timeout;
54+
import org.junit.jupiter.params.ParameterizedTest;
55+
import org.junit.jupiter.params.provider.CsvSource;
5456
import org.tabletest.junit.TableTest;
5557

5658
@Timeout(value = 10, unit = TimeUnit.SECONDS)
@@ -407,12 +409,12 @@ void verifyConfigurationPollingWithCustomTags(
407409
+ " \"tracing_enabled\": false}}'";
408410

409411
@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 "
415415
})
416+
@ParameterizedTest
417+
@CsvSource(delimiter = '|', value = "action with tracing disabled | " + ACTION_JSON + " | false")
416418
void verifyConfigurationPollingWithTracingEnabled(
417419
String scenario, String json, boolean expectedValue) throws Exception {
418420
ParsedConfigKey key = ParsedConfigKey.parse("datadog/2/APM_TRACING/config_overrides/config");

0 commit comments

Comments
 (0)