Skip to content

Commit c880ef8

Browse files
committed
Fix build
1 parent acd8a4e commit c880ef8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ydb/core/tablet/tablet_counters_aggregator_ut.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,11 @@ void TestHeavy(const ui32 v, ui32 numWorkers) {
4747
options.FinalEvents.emplace_back(TEvents::TSystem::Bootstrap, numWorkers);
4848
runtime.DispatchEvents(options);
4949
for (const auto& a : cc) {
50-
THolder<TEvInterconnect::TEvNodesInfo> nodesInfo = MakeHolder<TEvInterconnect::TEvNodesInfo>();
50+
auto nodes = MakeIntrusive<TIntrusiveVector<TEvInterconnect::TNodeInfo>>();
5151
for (auto i = 1; i <= NODES; ++i) {
52-
nodesInfo->Nodes.emplace_back(TEvInterconnect::TNodeInfo(i, "::", "localhost", "localhost", 1234, TNodeLocation()));
52+
nodes->emplace_back(TEvInterconnect::TNodeInfo(i, "::", "localhost", "localhost", 1234, TNodeLocation()));
5353
}
54+
THolder<TEvInterconnect::TEvNodesInfo> nodesInfo = MakeHolder<TEvInterconnect::TEvNodesInfo>(nodes);
5455
runtime.Send(new NActors::IEventHandle(a, edge, nodesInfo.Release()), 0, true);
5556
}
5657

0 commit comments

Comments
 (0)