diff options
author | iddqd <iddqd@yandex-team.ru> | 2022-02-10 16:49:45 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:45 +0300 |
commit | 07fce9c5f7771600d0b3d70e1f88fd8a7e164d85 (patch) | |
tree | e4aa4750fbb864d70f8c06cf03d2750e979ea3bf /util/stream/direct_io_ut.cpp | |
parent | af42068bf6cd93c976b80dd0388fa48cdf65da11 (diff) | |
download | ydb-07fce9c5f7771600d0b3d70e1f88fd8a7e164d85.tar.gz |
Restoring authorship annotation for <iddqd@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/stream/direct_io_ut.cpp')
-rw-r--r-- | util/stream/direct_io_ut.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/util/stream/direct_io_ut.cpp b/util/stream/direct_io_ut.cpp index 01d09db232c..0dbc2454f21 100644 --- a/util/stream/direct_io_ut.cpp +++ b/util/stream/direct_io_ut.cpp @@ -1,12 +1,12 @@ #include <library/cpp/testing/unittest/registar.h> - + #include <util/generic/string.h> #include <util/generic/array_size.h> #include <util/system/env.h> - + #include "buffered.h" #include "direct_io.h" - + Y_UNIT_TEST_SUITE(TDirectIOTests) { // Decrease numBufToWrite further if tests continue to time out static void Y_NO_INLINE Test(EOpenMode mode, size_t numBufToWrite) { @@ -55,8 +55,8 @@ Y_UNIT_TEST_SUITE(TDirectIOTests) { } UNIT_ASSERT_VALUES_EQUAL(bytesRead, numBufToWrite * BUFFER_SIZE); - } - + } + Y_UNIT_TEST(ReadWriteTest) { Test(0, 100 * 32); } @@ -67,5 +67,5 @@ Y_UNIT_TEST_SUITE(TDirectIOTests) { Y_UNIT_TEST(ReadWriteDirectSeqTest) { Test(Direct | Seq, 100 * 4); - } -} + } +} |