diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2024-11-25 00:01:19 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-11-25 00:11:03 +0300 |
commit | 1ab4c9de1bdddd2cded74f0f047d40c71c987d64 (patch) | |
tree | ad03a93a001eb2f057f75646e586d2d762e0af23 /yt | |
parent | b3a849d7e98dc052814fd5360fbc074a206287b6 (diff) | |
download | ydb-1ab4c9de1bdddd2cded74f0f047d40c71c987d64.tar.gz |
Intermediate changes
commit_hash:9a1baff5389f13555e1e8bac91ee20fe85e39fa0
Diffstat (limited to 'yt')
-rw-r--r-- | yt/yt/library/oom/unittests/oom_ut.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/yt/yt/library/oom/unittests/oom_ut.cpp b/yt/yt/library/oom/unittests/oom_ut.cpp index 692fb85232..78f0182973 100644 --- a/yt/yt/library/oom/unittests/oom_ut.cpp +++ b/yt/yt/library/oom/unittests/oom_ut.cpp @@ -11,9 +11,9 @@ namespace { //////////////////////////////////////////////////////////////////////////////// -TEST(EarlyOOM, Crash) +TEST(TEarlyOomTest, Crash) { - auto checkOOM = [] { + auto checkOom = [] { EnableEarlyOomWatchdog(TOomWatchdogOptions{ .MemoryLimit = 0, }); @@ -21,12 +21,12 @@ TEST(EarlyOOM, Crash) Sleep(TDuration::Seconds(5)); }; - ASSERT_DEATH(checkOOM(), ""); + ASSERT_DEATH(checkOom(), ""); ASSERT_TRUE(NFs::Exists("oom.pb.gz")); } -TEST(EarlyOOM, NoCrash) +TEST(TEarlyOomTest, NoCrash) { EnableEarlyOomWatchdog(TOomWatchdogOptions{ .MemoryLimit = 1_GB, |