Skip to content

Commit

Permalink
fix: unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-savu committed May 10, 2024
1 parent fea2066 commit 03c6c9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rust/agents/relayer/src/msg/processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ mod test {
},
time::sleep,
};
use tokio_metrics::TaskMonitor;

fn dummy_processor_metrics(domain_id: u32) -> MessageProcessorMetrics {
MessageProcessorMetrics {
Expand Down Expand Up @@ -367,7 +368,7 @@ mod test {
let (message_processor, mut receive_channel) =
dummy_message_processor(origin_domain, destination_domain, db);

let processor = Processor::new(Box::new(message_processor));
let processor = Processor::new(Box::new(message_processor), TaskMonitor::new());
let process_fut = processor.spawn();
let mut pending_messages = vec![];
let pending_message_accumulator = async {
Expand Down

0 comments on commit 03c6c9f

Please sign in to comment.