Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tdimitrov committed Feb 14, 2023
1 parent 969f71a commit 81a64e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions node/overseer/examples/minimal-example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ fn main() {
AlwaysSupportsParachains,
None,
MajorSyncOracle::new_dummy(),
Vec::new(),
)
.unwrap()
.replace_candidate_validation(|_| Subsystem2)
Expand Down
3 changes: 3 additions & 0 deletions node/overseer/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,9 @@ fn do_not_send_events_before_initial_major_sync_is_complete() {
span: Arc::new(jaeger::Span::Disabled),
status: LeafStatus::Fresh,
})),
OverseerSignal::ActiveLeaves(ActiveLeavesUpdate::stop_work(
imported_block_before_sync.hash,
)),
OverseerSignal::BlockFinalized(
imported_block_after_sync.hash,
imported_block_after_sync.number,
Expand Down

0 comments on commit 81a64e5

Please sign in to comment.