Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmorozov333 committed Aug 3, 2024
1 parent 9b8f95f commit 17eb4e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ NKikimr::TConclusion<std::shared_ptr<TReadMetadataBase>> TIndexScannerConstructo
return std::shared_ptr<TReadMetadataBase>();
}

if (read.GetSnapshot() < self->GetMinReadSnapshot()) {
if (read.GetSnapshot().GetPlanInstant() < self->GetMinReadSnapshot().GetPlanInstant()) {
return TConclusionStatus::Fail(TStringBuilder() << "Snapshot too old: " << read.GetSnapshot());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,7 @@ void TestWriteReadLongTxDup() {
void TestWriteRead(bool reboots, const TestTableDescription& table = {}, TString codec = "") {
auto csControllerGuard = NKikimr::NYDBTest::TControllers::RegisterCSControllerGuard<TDefaultTestsController>();
csControllerGuard->DisableBackground(NKikimr::NYDBTest::ICSController::EBackground::Compaction);
csControllerGuard->SetReadTimeoutClean(TDuration::Max());
TTestBasicRuntime runtime;
TTester::Setup(runtime);

Expand Down

0 comments on commit 17eb4e0

Please sign in to comment.