Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: turuslan <[email protected]>
  • Loading branch information
turuslan committed Apr 6, 2024
1 parent bea3ba8 commit dbad390
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/core/consensus/beefy_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ struct BeefyTest : testing::Test {
: std::nullopt;
});

StartApp app_state_manager;
auto app_state_manager = std::make_shared<StartApp>();
std::shared_ptr<MainThreadPool> main_thread_pool_ =
std::make_shared<MainThreadPool>(TestThreadPool{io_});
std::shared_ptr<BeefyThreadPool> beefy_thread_pool_ =
Expand Down Expand Up @@ -207,7 +207,7 @@ struct BeefyTest : testing::Test {
peer.keystore_,
testutil::sptr_to_lazy<BeefyProtocol>(peer.broadcast_),
peer.chain_sub_);
app_state_manager.start();
app_state_manager->start();
}
}

Expand Down

0 comments on commit dbad390

Please sign in to comment.