From d2cdb504ac7db4a8da07c074d2caba09a9c2af46 Mon Sep 17 00:00:00 2001 From: Albert Kharisov Date: Sun, 24 Nov 2024 18:12:27 +0400 Subject: [PATCH] Fix broken test --- sdk/test/trace/span_data_test.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/test/trace/span_data_test.cc b/sdk/test/trace/span_data_test.cc index 054af65330..6ad0b37341 100644 --- a/sdk/test/trace/span_data_test.cc +++ b/sdk/test/trace/span_data_test.cc @@ -69,7 +69,8 @@ TEST(SpanData, Set) data.SetStartTime(now); data.SetDuration(std::chrono::nanoseconds(1000000)); data.SetAttribute("attr1", static_cast(314159)); - data.AddEvent("event1", now); + data.AddEvent("event1", now, + opentelemetry::common::KeyValueIterableView>({})); ASSERT_EQ(data.GetTraceId(), trace_id); ASSERT_EQ(data.GetSpanId(), span_id);