Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpeye committed Jul 17, 2024
1 parent 7f05e27 commit e16fdb8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cloud/blockstore/libs/storage/service/service_ut_destroy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Y_UNIT_TEST_SUITE(TServiceDestroyTest)

auto& runtime = env.GetRuntime();
runtime.SetObserverFunc(
[&](TAutoPtr<IEventHandle>& event)
[&](TTestActorRuntimeBase& runtime, TAutoPtr<IEventHandle>& event)
{
if (event->GetTypeRewrite() ==
TEvDiskRegistry::EvDeallocateDiskRequest)
Expand All @@ -214,7 +214,7 @@ Y_UNIT_TEST_SUITE(TServiceDestroyTest)
syncDealloc = msg->Record.GetSync();
}
}
return TTestActorRuntime::DefaultObserverFunc(event);
return TTestActorRuntime::DefaultObserverFunc(runtime, event);
});

{
Expand All @@ -234,7 +234,7 @@ Y_UNIT_TEST_SUITE(TServiceDestroyTest)

syncDealloc = false;
runtime.SetObserverFunc(
[&](TAutoPtr<IEventHandle>& event)
[&](TTestActorRuntimeBase& runtime, TAutoPtr<IEventHandle>& event)
{
switch (event->GetTypeRewrite()) {
case TEvService::EvStatVolumeResponse: {
Expand Down Expand Up @@ -263,7 +263,7 @@ Y_UNIT_TEST_SUITE(TServiceDestroyTest)
}
}

return TTestActorRuntime::DefaultObserverFunc(event);
return TTestActorRuntime::DefaultObserverFunc(runtime, event);
});

{
Expand Down

0 comments on commit e16fdb8

Please sign in to comment.