aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnaury <snaury@ydb.tech>2022-09-07 15:50:56 +0300
committersnaury <snaury@ydb.tech>2022-09-07 15:50:56 +0300
commit2513074d56e5f1f8fb8bd91b22b78d5415a1b3c4 (patch)
tree3766c937e7f3fbae627b1ed3a898eb8515be78fa
parente5ca66dd4e5f7332e8a25fa508e8bfde96c0d09c (diff)
downloadydb-2513074d56e5f1f8fb8bd91b22b78d5415a1b3c4.tar.gz
Make sure to use controls in the UncommittedReads test
-rw-r--r--ydb/core/tx/datashard/datashard_ut_order.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/core/tx/datashard/datashard_ut_order.cpp b/ydb/core/tx/datashard/datashard_ut_order.cpp
index dddd6665065..b64b30c1673 100644
--- a/ydb/core/tx/datashard/datashard_ut_order.cpp
+++ b/ydb/core/tx/datashard/datashard_ut_order.cpp
@@ -5427,13 +5427,13 @@ Y_UNIT_TEST_TWIN(UncommittedReads, UseNewEngine) {
TServerSettings::TControls controls;
controls.MutableDataShardControls()->SetPrioritizedMvccSnapshotReads(1);
controls.MutableDataShardControls()->SetUnprotectedMvccSnapshotReads(1);
- controls.MutableDataShardControls()->SetEnableLockedWrites(1);
TServerSettings serverSettings(pm.GetPort(2134));
serverSettings.SetDomainName("Root")
.SetEnableMvcc(true)
.SetEnableMvccSnapshotReads(true)
.SetEnableKqpSessionActor(UseNewEngine)
+ .SetControls(controls)
.SetUseRealThreads(false);
Tests::TServer::TPtr server = new TServer(serverSettings);