Skip to content

Commit 9c6b3f1

Browse files
fix test build
1 parent 184f41b commit 9c6b3f1

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

ydb/core/tx/columnshard/engines/ut/ut_logs_engine.cpp

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -451,8 +451,8 @@ Y_UNIT_TEST_SUITE(TColumnEngineTestLogs) {
451451
engine.Load(db);
452452

453453
std::vector<TCommittedData> dataToIndex = {
454-
TCommittedData(TUserData::Build(paths[0], blobRanges[0], TLocalHelper::GetMetaProto(), 0, {}), TSnapshot(1, 2), (TInsertWriteId)2),
455-
TCommittedData(TUserData::Build(paths[0], blobRanges[1], TLocalHelper::GetMetaProto(), 0, {}), TSnapshot(2, 1), (TInsertWriteId)1)
454+
TCommittedData(TUserData::Build(paths[0], blobRanges[0], TLocalHelper::GetMetaProto(), 0, {}), TSnapshot(1, 2), 0, (TInsertWriteId)2),
455+
TCommittedData(TUserData::Build(paths[0], blobRanges[1], TLocalHelper::GetMetaProto(), 0, {}), TSnapshot(2, 1), 0, (TInsertWriteId)1)
456456
};
457457

458458
// write
@@ -553,7 +553,7 @@ Y_UNIT_TEST_SUITE(TColumnEngineTestLogs) {
553553
std::vector<TCommittedData> dataToIndex;
554554
TSnapshot ss(planStep, txId);
555555
dataToIndex.push_back(
556-
TCommittedData(TUserData::Build(pathId, blobRange, TLocalHelper::GetMetaProto(), 0, {}), ss, (TInsertWriteId)txId));
556+
TCommittedData(TUserData::Build(pathId, blobRange, TLocalHelper::GetMetaProto(), 0, {}), ss, 0, (TInsertWriteId)txId));
557557

558558
bool ok = Insert(engine, db, ss, std::move(dataToIndex), blobs, step);
559559
UNIT_ASSERT(ok);
@@ -651,7 +651,8 @@ Y_UNIT_TEST_SUITE(TColumnEngineTestLogs) {
651651
// PlanStep, TxId, PathId, DedupId, BlobId, Data, [Metadata]
652652
std::vector<TCommittedData> dataToIndex;
653653
TSnapshot ss(planStep, txId);
654-
dataToIndex.push_back(TCommittedData(TUserData::Build(pathId, blobRange, TLocalHelper::GetMetaProto(), 0, {}), ss, (TInsertWriteId)txId));
654+
dataToIndex.push_back(
655+
TCommittedData(TUserData::Build(pathId, blobRange, TLocalHelper::GetMetaProto(), 0, {}), ss, 0, (TInsertWriteId)txId));
655656

656657
bool ok = Insert(engine, db, ss, std::move(dataToIndex), blobs, step);
657658
blobsAll.Merge(std::move(blobs));
@@ -682,7 +683,8 @@ Y_UNIT_TEST_SUITE(TColumnEngineTestLogs) {
682683
// PlanStep, TxId, PathId, DedupId, BlobId, Data, [Metadata]
683684
std::vector<TCommittedData> dataToIndex;
684685
TSnapshot ss(planStep, txId);
685-
dataToIndex.push_back(TCommittedData(TUserData::Build(pathId, blobRange, TLocalHelper::GetMetaProto(), 0, {}), ss, TInsertWriteId(txId)));
686+
dataToIndex.push_back(
687+
TCommittedData(TUserData::Build(pathId, blobRange, TLocalHelper::GetMetaProto(), 0, {}), ss, 0, TInsertWriteId(txId)));
686688

687689
bool ok = Insert(engine, db, ss, std::move(dataToIndex), blobs, step);
688690
UNIT_ASSERT(ok);
@@ -730,7 +732,7 @@ Y_UNIT_TEST_SUITE(TColumnEngineTestLogs) {
730732
TSnapshot ss(planStep, txId);
731733
std::vector<TCommittedData> dataToIndex;
732734
dataToIndex.push_back(
733-
TCommittedData(TUserData::Build(pathId, blobRange, TLocalHelper::GetMetaProto(), 0, {}), ss, TInsertWriteId(txId)));
735+
TCommittedData(TUserData::Build(pathId, blobRange, TLocalHelper::GetMetaProto(), 0, {}), ss, 0, TInsertWriteId(txId)));
734736

735737
bool ok = Insert(engine, db, ss, std::move(dataToIndex), blobs, step);
736738
UNIT_ASSERT(ok);

0 commit comments

Comments
 (0)