Skip to content

Commit

Permalink
Fix failing unittest
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
  • Loading branch information
alexggh committed Sep 21, 2024
1 parent 89ef3fa commit 64be040
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion polkadot/node/overseer/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ fn test_prospective_parachains_msg() -> ProspectiveParachainsMessage {
// Checks that `stop`, `broadcast_signal` and `broadcast_message` are implemented correctly.
#[test]
fn overseer_all_subsystems_receive_signals_and_messages() {
const NUM_SUBSYSTEMS: usize = 23;
const NUM_SUBSYSTEMS: usize = 24;
// -4 for BitfieldSigning, GossipSupport, AvailabilityDistribution and PvfCheckerSubsystem.
const NUM_SUBSYSTEMS_MESSAGED: usize = NUM_SUBSYSTEMS - 4;

Expand Down Expand Up @@ -1028,6 +1028,11 @@ fn overseer_all_subsystems_receive_signals_and_messages() {
handle
.send_msg_anon(AllMessages::ApprovalDistribution(test_approval_distribution_msg()))
.await;
handle
.send_msg_anon(AllMessages::ApprovalVotingParallel(
test_approval_distribution_msg().into(),
))
.await;
handle
.send_msg_anon(AllMessages::ApprovalVoting(test_approval_voting_msg()))
.await;
Expand Down

0 comments on commit 64be040

Please sign in to comment.