Skip to content

Commit

Permalink
assert format
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-shchetinin committed Jan 16, 2025
1 parent a98b598 commit 3b5807c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ydb/core/tx/schemeshard/ut_export/ut_export.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2474,7 +2474,11 @@ partitioning_settings {
for (ui64 i = 1; i <= Count; ++i) {
auto changefeedDir = "/" + GenChangefeedName(i);
auto* changefeed = S3Mock.GetData().FindPtr(changefeedDir + "/changefeed_description.pb");
UNIT_ASSERT(changefeed);
UNIT_ASSERT_VALUES_EQUAL(*changefeed, Sprintf(R"(name: "update_feed%d"
mode: MODE_UPDATES
format: FORMAT_JSON
state: STATE_ENABLED
)", i));
UNIT_ASSERT_VALUES_EQUAL(*changefeed, Sprintf("name: \"update_feed%d\"\nmode: MODE_UPDATES\nformat: FORMAT_JSON\nstate: STATE_ENABLED\n", i));

auto* topic = S3Mock.GetData().FindPtr(changefeedDir + "/topic_description.pb");
Expand Down

0 comments on commit 3b5807c

Please sign in to comment.