Skip to content

Commit 59013f6

Browse files
committed
work in progress
1 parent 9a81089 commit 59013f6

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

disk-buffering/src/test/java/io/opentelemetry/contrib/disk/buffering/internal/serialization/mapping/common/AttributesMapperTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ void verifyMapping() {
2121
Attributes attributes =
2222
Attributes.builder()
2323
.put(AttributeKey.stringKey("someString"), "someValue")
24+
.put(AttributeKey.stringKey("emptyString"), "")
2425
.put(AttributeKey.booleanKey("someBool"), true)
2526
.put(AttributeKey.longKey("someLong"), 10L)
2627
.put(AttributeKey.doubleKey("someDouble"), 10.0)

disk-buffering/src/test/java/io/opentelemetry/contrib/disk/buffering/testutils/TestData.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ public final class TestData {
3737
.put("conditions", false, true)
3838
.put("scores", 0L, 1L)
3939
.put("coins", 0.01, 0.05, 0.1)
40+
.put("empty", "")
41+
.put("blank", " ")
4042
.build();
4143

4244
public static final Resource RESOURCE_FULL =

0 commit comments

Comments
 (0)