mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 12:11:09 +00:00
fix race in sync tests (#2259)
This commit is contained in:
committed by
Bastian Köcher
parent
7f59cdb900
commit
5725e25448
@@ -950,7 +950,7 @@ mod tests {
|
||||
let drive_to_completion = ::tokio::timer::Interval::new_interval(TEST_ROUTING_INTERVAL)
|
||||
.for_each(move |_| {
|
||||
net.lock().send_import_notifications();
|
||||
net.lock().route_fast();
|
||||
net.lock().sync_without_disconnects();
|
||||
Ok(())
|
||||
})
|
||||
.map(|_| ())
|
||||
|
||||
Reference in New Issue
Block a user