diff options
| author | vartyukh <[email protected]> | 2022-02-10 16:50:16 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:50:16 +0300 | 
| commit | 18f9abdade80b500b7ea1ef2d286e2465a1c8466 (patch) | |
| tree | d2bebd1789fee0b44b94e11ee90b1634b9fcdfbe /library/cpp/actors/testlib | |
| parent | c0fb261e6889e12b418ebcdfdb3c990a4b39fd75 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/actors/testlib')
| -rw-r--r-- | library/cpp/actors/testlib/test_runtime.cpp | 12 | ||||
| -rw-r--r-- | library/cpp/actors/testlib/test_runtime.h | 2 | 
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 6fa25b99656..be1a85ff708 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 26e3b45c984..5e339698f20 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()) {  | 
