Skip to content

Commit 431e61a

Browse files
committed
Avoid panic on lagging in test for next committee.
1 parent ca62da7 commit 431e61a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/src/tests/timeboost/timeboost_handover.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,9 @@ async fn run_handover(
194194
Ok(Cmd::Bundle(bundle)) => {
195195
s.add_bundles(once(bundle));
196196
}
197+
Err(RecvError::Lagged(e)) => {
198+
warn!("lagging behind: {e}");
199+
}
197200
Err(err) => panic!("command channel error: {err}")
198201
},
199202
out = s.next() => match out {

0 commit comments

Comments
 (0)