aboutsummaryrefslogtreecommitdiffstats
path: root/util/thread/pool_ut.cpp
diff options
context:
space:
mode:
authormelkov <melkov@yandex-team.ru>2022-02-10 16:48:13 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:13 +0300
commit438546c8737d5c1fdeb31157dcf999717d930eec (patch)
treed29d229abd2f9f889b9b7eb148d635059dc26acf /util/thread/pool_ut.cpp
parent96647fad5355ff5ef45a00a6d85c097028584ab0 (diff)
downloadydb-438546c8737d5c1fdeb31157dcf999717d930eec.tar.gz
Restoring authorship annotation for <melkov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/thread/pool_ut.cpp')
-rw-r--r--util/thread/pool_ut.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/util/thread/pool_ut.cpp b/util/thread/pool_ut.cpp
index 893770d0c4..628db06fed 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) {