Skip to content

Commit 7d2cbee

Browse files
committed
fix
1 parent 6056b12 commit 7d2cbee

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

baggage-processor/build.gradle.kts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,3 @@ dependencies {
2626
testImplementation("com.google.guava:guava")
2727
testImplementation("org.awaitility:awaitility")
2828
}
29-
30-
configurations.all {
31-
// todo remove version number before merging, should be provided by the bom
32-
resolutionStrategy {
33-
force("io.opentelemetry:opentelemetry-sdk-common:1.52.0")
34-
force("io.opentelemetry:opentelemetry-sdk-extension-autoconfigure:1.52.0")
35-
}
36-
}

baggage-processor/src/test/java/io/opentelemetry/contrib/baggage/processor/BaggageProcessorCustomizerTest.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,15 @@ class BaggageProcessorCustomizerTest {
4848
private static final String MEMORY_EXPORTER = "memory";
4949

5050
@Test
51-
void test_customizer() {
51+
void test_empty_customizer() {
5252
assertCustomizer(
5353
Collections.emptyMap(),
5454
span -> assertThat(span).hasTotalAttributeCount(0),
5555
logRecord -> assertThat(logRecord).hasTotalAttributeCount(0));
56+
}
57+
58+
@Test
59+
void test_customizer() {
5660
Map<String, String> properties = new HashMap<>();
5761
properties.put("otel.java.experimental.span-attributes.copy-from-baggage.include", "key");
5862
properties.put("otel.java.experimental.log-attributes.copy-from-baggage.include", "key");

0 commit comments

Comments
 (0)