Skip to content

Commit

Permalink
Fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
albkharisov committed Nov 24, 2024
1 parent 444d869 commit d160f8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sdk/test/trace/span_data_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ TEST(SpanData, Set)
data.SetStartTime(now);
data.SetDuration(std::chrono::nanoseconds(1000000));
data.SetAttribute("attr1", static_cast<int64_t>(314159));
data.AddEvent("event1", now);
data.AddEvent("event1", now,
opentelemetry::common::KeyValueIterableView<std::map<std::string, int32_t>>({}));

ASSERT_EQ(data.GetTraceId(), trace_id);
ASSERT_EQ(data.GetSpanId(), span_id);
Expand Down

0 comments on commit d160f8a

Please sign in to comment.