diff options
author | alexvru <alexvru@ydb.tech> | 2023-07-31 14:31:40 +0300 |
---|---|---|
committer | alexvru <alexvru@ydb.tech> | 2023-07-31 14:31:40 +0300 |
commit | 0937ddfa4bad00b305722ca861f250bfba4be959 (patch) | |
tree | abfd24e1eddcff495c84f0b0767db8b41de228d7 | |
parent | e53b4e5164d3e236957b17a24fcac932ba3cae85 (diff) | |
download | ydb-0937ddfa4bad00b305722ca861f250bfba4be959.tar.gz |
Disable LogBatching revert KIKIMR-11082
-rw-r--r-- | ydb/core/test_tablet/load_actor_mon.cpp | 8 | ||||
-rw-r--r-- | ydb/core/test_tablet/scheme.h | 6 |
2 files changed, 11 insertions, 3 deletions
diff --git a/ydb/core/test_tablet/load_actor_mon.cpp b/ydb/core/test_tablet/load_actor_mon.cpp index 65a8eb5079..0a0301f134 100644 --- a/ydb/core/test_tablet/load_actor_mon.cpp +++ b/ydb/core/test_tablet/load_actor_mon.cpp @@ -41,9 +41,11 @@ namespace NKikimr::NTestShard { NJson::TJsonValue root(NJson::JSON_MAP); std::vector<TDuration> intervals; - intervals.reserve(30); - for (ui32 i = 0; i < 29; ++i) { - const double seconds = 1e-5 * round(100 * pow(10, i / 7.0)); + constexpr size_t orders = 4; + constexpr size_t stepsPerOrder = 20; + intervals.reserve(orders * stepsPerOrder + 2); + for (ui32 i = 0; i < orders * stepsPerOrder + 1; ++i) { + const double seconds = 1e-5 * round(100 * pow(10, (double)i / stepsPerOrder)); intervals.push_back(TDuration::Seconds(seconds)); } intervals.push_back(TDuration::Max()); diff --git a/ydb/core/test_tablet/scheme.h b/ydb/core/test_tablet/scheme.h index fe14f1626f..8c4b494cdc 100644 --- a/ydb/core/test_tablet/scheme.h +++ b/ydb/core/test_tablet/scheme.h @@ -14,6 +14,12 @@ namespace NKikimr::NTestShard { }; using TTables = SchemaTables<State>; + + struct EmptySettings { + static void Materialize(NIceDb::TToughDb&) {} + }; + + using TSettings = SchemaSettings<EmptySettings>; }; } // NKikimr::NTestShard |