diff options
author | ilnurkh <[email protected]> | 2023-10-09 23:39:40 +0300 |
---|---|---|
committer | ilnurkh <[email protected]> | 2023-10-09 23:57:14 +0300 |
commit | e601ca03f859335d57ecff2e5aa6af234b6052ed (patch) | |
tree | de519a847e58a1b3993fcbfe05ff44cc946a3e24 /library/cpp/actors/testlib/test_runtime.h | |
parent | bbf2b6878af3854815a2c0ecb07a687071787639 (diff) |
Y_VERIFY->Y_ABORT_UNLESS at ^l
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'library/cpp/actors/testlib/test_runtime.h')
-rw-r--r-- | library/cpp/actors/testlib/test_runtime.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/actors/testlib/test_runtime.h b/library/cpp/actors/testlib/test_runtime.h index 12c99ba8e64..80853e357c2 100644 --- a/library/cpp/actors/testlib/test_runtime.h +++ b/library/cpp/actors/testlib/test_runtime.h @@ -298,7 +298,7 @@ namespace NActors { template<typename T> void AppendToLogSettings(NLog::EComponent minVal, NLog::EComponent maxVal, T func) { - Y_VERIFY(!IsInitialized); + Y_ABORT_UNLESS(!IsInitialized); for (const auto& pair : Nodes) { pair.second->LogSettings->Append(minVal, maxVal, func); @@ -332,7 +332,7 @@ namespace NActors { }, {}, simTimeout); if (simTimeout == TDuration::Max()) - Y_VERIFY(handle); + Y_ABORT_UNLESS(handle); if (handle) { return handle->Get<TEvent>(); @@ -364,7 +364,7 @@ namespace NActors { }, edgeFilter, simTimeout); if (simTimeout == TDuration::Max()) - Y_VERIFY(handle); + Y_ABORT_UNLESS(handle); return handle; } @@ -419,7 +419,7 @@ namespace NActors { return true; }, {}, simTimeout); if (simTimeout == TDuration::Max()) - Y_VERIFY(handle); + Y_ABORT_UNLESS(handle); if (handle) { return std::make_tuple(handle->Type == TEvents::EventType ? handle->Get<TEvents>() |