use own timeout in tests instead of smol-timeout (#1618)

This commit is contained in:
Fedor Sakharov authored and GitHub committed 2020-08-20 20:27:09 +03:00
1 parent d2c4e0cc8e
commit cc19f13468
7 files changed
+50 -23

No files matched your search

@@ -22,13 +22,12 @@ use polkadot_primitives::v1::{
GroupRotationInfo, HeadData, PersistedValidationData, OccupiedCore,
PoV, ScheduledCore, ValidatorPair,
};
use polkadot_subsystem_testhelpers as test_helpers;
use polkadot_subsystem_testhelpers::{self as test_helpers, TimeoutExt};
use polkadot_node_network_protocol::ObservedRole;
use futures::{executor, future, Future};
use futures_timer::Delay;
use smallvec::smallvec;
use smol_timeout::TimeoutExt;
use std::time::Duration;
macro_rules! view {