diff --git a/cloud/filestore/libs/storage/service/service_ut.cpp b/cloud/filestore/libs/storage/service/service_ut.cpp index f304fc7c655..c76fc0d8772 100644 --- a/cloud/filestore/libs/storage/service/service_ut.cpp +++ b/cloud/filestore/libs/storage/service/service_ut.cpp @@ -1485,7 +1485,8 @@ Y_UNIT_TEST_SUITE(TStorageServiceTest) service.CreateFileStore("test", 1000); auto& runtime = env.GetRuntime(); - runtime.SetObserverFunc([&] (TAutoPtr& event) mutable { + runtime.SetObserverFunc( + [&] (TTestActorRuntimeBase& runtime, TAutoPtr& event) mutable { switch (event->GetTypeRewrite()) { case TEvIndexTablet::EvCreateSessionRequest: { const auto* msg = @@ -1495,7 +1496,7 @@ Y_UNIT_TEST_SUITE(TStorageServiceTest) } } - return TTestActorRuntime::DefaultObserverFunc(event); + return TTestActorRuntime::DefaultObserverFunc(runtime, event); }); THeaders headers = {"test", "client", "", 0};