8000 Fix broken test · open-telemetry/opentelemetry-cpp@d160f8a · GitHub
[go: up one dir, main page]

Skip to content

Commit d160f8a

Browse files
committed
Fix broken test
1 parent 444d869 commit d160f8a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sdk/test/trace/span_data_test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ TEST(SpanData, Set)
6969
data.SetStartTime(now);
7070
data.SetDuration(std::chrono::nanoseconds(1000000));
7171
data.SetAttribute("attr1", static_cast<int64_t>(314159));
72-
data.AddEvent("event1", now);
72+
data.AddEvent("event1", now,
73+
opentelemetry::common::KeyValueIterableView<std::map<std::string, int32_t>>({}));
7374

7475
ASSERT_EQ(data.GetTraceId(), trace_id);
7576
ASSERT_EQ(data.GetSpanId(), span_id);

0 commit comments

Comments
 (0)
0