diff options
author | senya0x5f <senya0x5f@yandex-team.com> | 2023-11-20 14:42:23 +0300 |
---|---|---|
committer | senya0x5f <senya0x5f@yandex-team.com> | 2023-11-20 17:48:30 +0300 |
commit | aa21e741d81223fbeed690634df63f6848e5759d (patch) | |
tree | eb66ed138e66eb5aaa55ee937364c82f3ac3c88b | |
parent | 712b15e09a5871f2676e04cb160afdf09b3217f3 (diff) | |
download | ydb-aa21e741d81223fbeed690634df63f6848e5759d.tar.gz |
KIKIMR-20143 Fix PDiskIncreaseLogChunksLimitAfterRestart timeout with ASAN
-rw-r--r-- | ydb/core/blobstorage/pdisk/blobstorage_pdisk_ut.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ydb/core/blobstorage/pdisk/blobstorage_pdisk_ut.cpp b/ydb/core/blobstorage/pdisk/blobstorage_pdisk_ut.cpp index b8e13e261b..b044b72cc1 100644 --- a/ydb/core/blobstorage/pdisk/blobstorage_pdisk_ut.cpp +++ b/ydb/core/blobstorage/pdisk/blobstorage_pdisk_ut.cpp @@ -1002,13 +1002,17 @@ Y_UNIT_TEST_SUITE(TPDiskTest) { } Y_UNIT_TEST(PDiskIncreaseLogChunksLimitAfterRestart) { - TActorTestContext testCtx({ false }); + TActorTestContext testCtx({ + .IsBad=false, + .DiskSize = 1_GB, + .ChunkSize = 1_MB, + }); TVDiskMock vdisk(&testCtx); vdisk.InitFull(); vdisk.SendEvLogSync(); - TRcBuf buf(TString(1_MB, 'a')); + TRcBuf buf(TString(64_MB, 'a')); auto writeLog = [&]() { testCtx.Send(new NPDisk::TEvLog(vdisk.PDiskParams->Owner, vdisk.PDiskParams->OwnerRound, 0, buf, vdisk.GetLsnSeg(), nullptr)); |