aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/actors
diff options
context:
space:
mode:
authorvartyukh <vartyukh@yandex-team.ru>2022-02-10 16:50:16 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:16 +0300
commit97df5ca7413550bf233fc6c7210e292fca0a51af (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/actors
parent18f9abdade80b500b7ea1ef2d286e2465a1c8466 (diff)
downloadydb-97df5ca7413550bf233fc6c7210e292fca0a51af.tar.gz
Restoring authorship annotation for <vartyukh@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/actors')
-rw-r--r--library/cpp/actors/testlib/test_runtime.cpp12
-rw-r--r--library/cpp/actors/testlib/test_runtime.h2
2 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/actors/testlib/test_runtime.cpp b/library/cpp/actors/testlib/test_runtime.cpp
index be1a85ff70..6fa25b9965 100644
--- a/library/cpp/actors/testlib/test_runtime.cpp
+++ b/library/cpp/actors/testlib/test_runtime.cpp
@@ -1702,18 +1702,18 @@ namespace NActors {
}
TActorSystem* TTestActorRuntimeBase::GetAnyNodeActorSystem() {
- for (auto& x : Nodes) {
- return x.second->ActorSystem.Get();
- }
+ for (auto& x : Nodes) {
+ return x.second->ActorSystem.Get();
+ }
Y_FAIL("Don't use this method.");
- }
-
+ }
+
TActorSystem* TTestActorRuntimeBase::GetActorSystem(ui32 nodeId) {
auto it = Nodes.find(GetNodeId(nodeId));
Y_VERIFY(it != Nodes.end());
return it->second->ActorSystem.Get();
}
-
+
TEventMailBox& TTestActorRuntimeBase::GetMailbox(ui32 nodeId, ui32 hint) {
TGuard<TMutex> guard(Mutex);
diff --git a/library/cpp/actors/testlib/test_runtime.h b/library/cpp/actors/testlib/test_runtime.h
index 5e339698f2..26e3b45c98 100644
--- a/library/cpp/actors/testlib/test_runtime.h
+++ b/library/cpp/actors/testlib/test_runtime.h
@@ -285,7 +285,7 @@ namespace NActors {
}
TActorSystem* SingleSys() const;
- TActorSystem* GetAnyNodeActorSystem();
+ TActorSystem* GetAnyNodeActorSystem();
TActorSystem* GetActorSystem(ui32 nodeId);
template <typename TEvent>
TEvent* GrabEdgeEventIf(TAutoPtr<IEventHandle>& handle, std::function<bool(const TEvent&)> predicate, TDuration simTimeout = TDuration::Max()) {