Skip to content

Commit

Permalink
Fix of unstable test
Browse files Browse the repository at this point in the history
  • Loading branch information
nepridumalnik committed Jan 21, 2025
1 parent 5cb3d5f commit 72be837
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/tracing/span_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,9 @@ UTEST_F(Span, MakeSpanEventWithAttributes) {
// Attributes
EXPECT_THAT(logs_raw, HasSubstr(R"("attributes":{"int":42})"));
EXPECT_THAT(logs_raw, HasSubstr(R"("attributes":{"string":"value"})"));
EXPECT_THAT(logs_raw, HasSubstr(R"("attributes":{"int":123,"float":123.456,"string":"another_value"})"));
EXPECT_THAT(logs_raw, HasSubstr(R"("int":123)"));
EXPECT_THAT(logs_raw, HasSubstr(R"("float":123.456)"));
EXPECT_THAT(logs_raw, HasSubstr(R"("string":"another_value")"));
}

USERVER_NAMESPACE_END

0 comments on commit 72be837

Please sign in to comment.