diff options
author | ermolovd <ermolovd@yandex-team.ru> | 2022-02-10 16:47:53 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:53 +0300 |
commit | b91bcef7c99a119b0846479ef71bfab4beec72ca (patch) | |
tree | be118d54d12a61bc4812ceb0a266a170a2fa3bc9 /library/cpp/threading | |
parent | f421873774cf0b71743afbe5f6677861e66601ea (diff) | |
download | ydb-b91bcef7c99a119b0846479ef71bfab4beec72ca.tar.gz |
Restoring authorship annotation for <ermolovd@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/threading')
-rw-r--r-- | library/cpp/threading/future/future_ut.cpp | 4 | ||||
-rw-r--r-- | library/cpp/threading/ya.make | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/threading/future/future_ut.cpp b/library/cpp/threading/future/future_ut.cpp index 05950a568d4..14230c86a82 100644 --- a/library/cpp/threading/future/future_ut.cpp +++ b/library/cpp/threading/future/future_ut.cpp @@ -232,12 +232,12 @@ namespace { } catch (...) { promise.SetException(std::current_exception()); } - + UNIT_ASSERT(!promise.HasValue()); UNIT_ASSERT(promise.HasException()); UNIT_ASSERT_EXCEPTION(promise.GetValue(), TCustomException); UNIT_ASSERT_EXCEPTION(promise.TryRethrow(), TCustomException); - } + } Y_UNIT_TEST(ShouldRethrowCallbackException) { TPromise<int> promise = NewPromise<int>(); diff --git a/library/cpp/threading/ya.make b/library/cpp/threading/ya.make index f4d850ee178..ecdc24b9daf 100644 --- a/library/cpp/threading/ya.make +++ b/library/cpp/threading/ya.make @@ -1,4 +1,4 @@ -RECURSE( +RECURSE( algorithm async_task_batch async_task_batch/ut @@ -61,4 +61,4 @@ RECURSE( ticket_lock/ut work_stealing work_stealing/ut -) +) |