Skip to content

Commit

Permalink
[BUILD] Build break using protoc 3.14 (#3211)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcalff authored Dec 17, 2024
1 parent b741815 commit 1cbea09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion exporters/otlp/test/otlp_recordable_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ TEST(OtlpRecordable, SetInstrumentationScopeWithAttributes)

ASSERT_EQ(proto_instr_libr.attributes_size(), 1);
const auto &proto_attributes = proto_instr_libr.attributes(0);
ASSERT_TRUE(proto_attributes.value().has_string_value());
// Requires protoc 3.15.0
// ASSERT_TRUE(proto_attributes.value().has_string_value());
EXPECT_EQ("test_key", proto_attributes.key());
EXPECT_EQ("test_value", proto_attributes.value().string_value());
}
Expand Down

0 comments on commit 1cbea09

Please sign in to comment.