diff options
author | melkov <melkov@yandex-team.ru> | 2022-02-10 16:48:14 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:14 +0300 |
commit | 2c532b38e6aeb4fd88531027c7335690fd34c4e5 (patch) | |
tree | b222e5ac2e2e98872661c51ccceee5da0d291e13 /util/thread/pool_ut.cpp | |
parent | 438546c8737d5c1fdeb31157dcf999717d930eec (diff) | |
download | ydb-2c532b38e6aeb4fd88531027c7335690fd34c4e5.tar.gz |
Restoring authorship annotation for <melkov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/thread/pool_ut.cpp')
-rw-r--r-- | util/thread/pool_ut.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/util/thread/pool_ut.cpp b/util/thread/pool_ut.cpp index 628db06fed..893770d0c4 100644 --- a/util/thread/pool_ut.cpp +++ b/util/thread/pool_ut.cpp @@ -186,10 +186,10 @@ Y_UNIT_TEST_SUITE(TThreadPoolTest) { name = TThread::CurrentThreadName(); }); pool.Stop(); - if (TThread::CanGetCurrentThreadName()) { - UNIT_ASSERT_EQUAL(name, expectedName); - UNIT_ASSERT_UNEQUAL(TThread::CurrentThreadName(), expectedName); - } + if (TThread::CanGetCurrentThreadName()) { + UNIT_ASSERT_EQUAL(name, expectedName); + UNIT_ASSERT_UNEQUAL(TThread::CurrentThreadName(), expectedName); + } } Y_UNIT_TEST(TestFixedThreadName) { @@ -225,9 +225,9 @@ Y_UNIT_TEST_SUITE(TThreadPoolTest) { }); } pool.Stop(); - if (TThread::CanGetCurrentThreadName()) { - UNIT_ASSERT_EQUAL(names, expectedNames); - } + if (TThread::CanGetCurrentThreadName()) { + UNIT_ASSERT_EQUAL(names, expectedNames); + } } Y_UNIT_TEST(TestEnumeratedThreadName) { |