diff options
author | Vitalii Gridnev <gridnevvvit@gmail.com> | 2022-02-10 16:47:23 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:23 +0300 |
commit | 30ed3937ab02d1b3c4dec4d93fb86c683217d9be (patch) | |
tree | 40cf6aa8b6b8223a09b185010d80f212e28b74f0 /library/cpp/actors | |
parent | 64de01e9a049f96a9e2d43aff48d10621ab47d81 (diff) | |
download | ydb-30ed3937ab02d1b3c4dec4d93fb86c683217d9be.tar.gz |
Restoring authorship annotation for Vitalii Gridnev <gridnevvvit@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/actors')
-rw-r--r-- | library/cpp/actors/core/event_pb_payload_ut.cpp | 4 | ||||
-rw-r--r-- | library/cpp/actors/core/scheduler_cookie.cpp | 4 | ||||
-rw-r--r-- | library/cpp/actors/core/ut/ya.make | 32 | ||||
-rw-r--r-- | library/cpp/actors/dnscachelib/dnscache.cpp | 8 | ||||
-rw-r--r-- | library/cpp/actors/dnscachelib/dnscache.h | 8 | ||||
-rw-r--r-- | library/cpp/actors/interconnect/mock/tsan.supp | 2 | ||||
-rw-r--r-- | library/cpp/actors/interconnect/mock/ya.make | 4 | ||||
-rw-r--r-- | library/cpp/actors/interconnect/ut/ya.make | 16 | ||||
-rw-r--r-- | library/cpp/actors/ya.make | 4 |
9 files changed, 41 insertions, 41 deletions
diff --git a/library/cpp/actors/core/event_pb_payload_ut.cpp b/library/cpp/actors/core/event_pb_payload_ut.cpp index eab007bc15..17597c6292 100644 --- a/library/cpp/actors/core/event_pb_payload_ut.cpp +++ b/library/cpp/actors/core/event_pb_payload_ut.cpp @@ -82,11 +82,11 @@ Y_UNIT_TEST_SUITE(TEventProtoWithPayload) { } } -#if (!defined(_tsan_enabled_)) +#if (!defined(_tsan_enabled_)) Y_UNIT_TEST(SerializeDeserialize) { TestAllSizes<TEvMessageWithPayload>(); } -#endif +#endif struct TEvArenaMessage : TEventPBWithArena<TEvArenaMessage, TMessageWithPayload, EvArenaMessage> { diff --git a/library/cpp/actors/core/scheduler_cookie.cpp b/library/cpp/actors/core/scheduler_cookie.cpp index 0fa6f543a7..822a074790 100644 --- a/library/cpp/actors/core/scheduler_cookie.cpp +++ b/library/cpp/actors/core/scheduler_cookie.cpp @@ -11,7 +11,7 @@ namespace NActors { } bool IsArmed() noexcept override { - return (AtomicGet(Value) == 2); + return (AtomicGet(Value) == 2); } bool Detach() noexcept override { @@ -46,7 +46,7 @@ namespace NActors { } bool IsArmed() noexcept override { - return (AtomicGet(Value) == 3); + return (AtomicGet(Value) == 3); } bool Detach() noexcept override { diff --git a/library/cpp/actors/core/ut/ya.make b/library/cpp/actors/core/ut/ya.make index 3ee28d5850..93e09f51cf 100644 --- a/library/cpp/actors/core/ut/ya.make +++ b/library/cpp/actors/core/ut/ya.make @@ -6,23 +6,23 @@ OWNER( ) FORK_SUBTESTS() -IF (SANITIZER_TYPE) - SIZE(LARGE) - TIMEOUT(1200) - TAG(ya:fat) - SPLIT_FACTOR(20) - REQUIREMENTS( - ram:32 - ) -ELSE() - SIZE(MEDIUM) - TIMEOUT(600) - REQUIREMENTS( - ram:16 - ) -ENDIF() - +IF (SANITIZER_TYPE) + SIZE(LARGE) + TIMEOUT(1200) + TAG(ya:fat) + SPLIT_FACTOR(20) + REQUIREMENTS( + ram:32 + ) +ELSE() + SIZE(MEDIUM) + TIMEOUT(600) + REQUIREMENTS( + ram:16 + ) +ENDIF() + PEERDIR( library/cpp/actors/interconnect library/cpp/actors/testlib diff --git a/library/cpp/actors/dnscachelib/dnscache.cpp b/library/cpp/actors/dnscachelib/dnscache.cpp index 649339ddb2..7ca665bb80 100644 --- a/library/cpp/actors/dnscachelib/dnscache.cpp +++ b/library/cpp/actors/dnscachelib/dnscache.cpp @@ -23,12 +23,12 @@ TDnsCache::TDnsCache(bool allowIpv4, bool allowIpv6, time_t lifetime, time_t neg , PtrCacheHits(0) , PtrCacheMisses(0) { -#ifdef _win_ +#ifdef _win_ if (ares_library_init(ARES_LIB_INIT_WIN32) != ARES_SUCCESS) { LWPROBE(AresInitFailed); ythrow yexception() << "ares_init() failed"; } -#endif +#endif ares_channel chan; @@ -47,9 +47,9 @@ TDnsCache::~TDnsCache(void) { ares_destroy(chan); LWPROBE(Destroyed); -#ifdef _win_ +#ifdef _win_ ares_library_cleanup(); -#endif +#endif } TString TDnsCache::GetHostByAddr(const NAddr::IRemoteAddr& addr) { diff --git a/library/cpp/actors/dnscachelib/dnscache.h b/library/cpp/actors/dnscachelib/dnscache.h index 3313a251a1..58159c1080 100644 --- a/library/cpp/actors/dnscachelib/dnscache.h +++ b/library/cpp/actors/dnscachelib/dnscache.h @@ -131,16 +131,16 @@ private: struct TAresLibInit { TAresLibInit() { -#ifdef _win_ +#ifdef _win_ const auto res = ares_library_init(ARES_LIB_INIT_ALL); Y_VERIFY(res == 0); -#endif +#endif } ~TAresLibInit() { -#ifdef _win_ +#ifdef _win_ ares_library_cleanup(); -#endif +#endif } }; diff --git a/library/cpp/actors/interconnect/mock/tsan.supp b/library/cpp/actors/interconnect/mock/tsan.supp index 19fd059419..92cd9fb73c 100644 --- a/library/cpp/actors/interconnect/mock/tsan.supp +++ b/library/cpp/actors/interconnect/mock/tsan.supp @@ -1 +1 @@ -deadlock:Attach +deadlock:Attach diff --git a/library/cpp/actors/interconnect/mock/ya.make b/library/cpp/actors/interconnect/mock/ya.make index 19a2834162..4687195d78 100644 --- a/library/cpp/actors/interconnect/mock/ya.make +++ b/library/cpp/actors/interconnect/mock/ya.make @@ -7,8 +7,8 @@ SRCS( ic_mock.h ) -SUPPRESSIONS(tsan.supp) - +SUPPRESSIONS(tsan.supp) + PEERDIR( library/cpp/actors/interconnect ) diff --git a/library/cpp/actors/interconnect/ut/ya.make b/library/cpp/actors/interconnect/ut/ya.make index 2f5b13352e..9213d51339 100644 --- a/library/cpp/actors/interconnect/ut/ya.make +++ b/library/cpp/actors/interconnect/ut/ya.make @@ -6,14 +6,14 @@ OWNER( ) IF (SANITIZER_TYPE == "thread") - TIMEOUT(1200) - SIZE(LARGE) - TAG(ya:fat) -ELSE() - TIMEOUT(600) - SIZE(MEDIUM) -ENDIF() - + TIMEOUT(1200) + SIZE(LARGE) + TAG(ya:fat) +ELSE() + TIMEOUT(600) + SIZE(MEDIUM) +ENDIF() + SRCS( channel_scheduler_ut.cpp event_holder_pool_ut.cpp diff --git a/library/cpp/actors/ya.make b/library/cpp/actors/ya.make index 737c7fbc18..d07bf1659d 100644 --- a/library/cpp/actors/ya.make +++ b/library/cpp/actors/ya.make @@ -1,5 +1,5 @@ -RECURSE_FOR_TESTS(ut) - +RECURSE_FOR_TESTS(ut) + RECURSE( log_backend core |