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

This commit is contained in:
Fedor Sakharov
2020-08-20 20:27:09 +03:00
committed by GitHub
parent d2c4e0cc8e
commit cc19f13468
7 changed files with 50 additions and 23 deletions
@@ -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 {