diff --git a/cloud/blockstore/libs/storage/service/service_ut_destroy.cpp b/cloud/blockstore/libs/storage/service/service_ut_destroy.cpp index f26ccb78a45..8d8828065cb 100644 --- a/cloud/blockstore/libs/storage/service/service_ut_destroy.cpp +++ b/cloud/blockstore/libs/storage/service/service_ut_destroy.cpp @@ -203,7 +203,7 @@ Y_UNIT_TEST_SUITE(TServiceDestroyTest) auto& runtime = env.GetRuntime(); runtime.SetObserverFunc( - [&](TAutoPtr& event) + [&](TTestActorRuntimeBase& runtime, TAutoPtr& event) { if (event->GetTypeRewrite() == TEvDiskRegistry::EvDeallocateDiskRequest) @@ -214,7 +214,7 @@ Y_UNIT_TEST_SUITE(TServiceDestroyTest) syncDealloc = msg->Record.GetSync(); } } - return TTestActorRuntime::DefaultObserverFunc(event); + return TTestActorRuntime::DefaultObserverFunc(runtime, event); }); { @@ -234,7 +234,7 @@ Y_UNIT_TEST_SUITE(TServiceDestroyTest) syncDealloc = false; runtime.SetObserverFunc( - [&](TAutoPtr& event) + [&](TTestActorRuntimeBase& runtime, TAutoPtr& event) { switch (event->GetTypeRewrite()) { case TEvService::EvStatVolumeResponse: { @@ -263,7 +263,7 @@ Y_UNIT_TEST_SUITE(TServiceDestroyTest) } } - return TTestActorRuntime::DefaultObserverFunc(event); + return TTestActorRuntime::DefaultObserverFunc(runtime, event); }); {