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
@@ -611,8 +611,7 @@ mod test {
use futures::executor;
use maplit::hashmap;
use polkadot_primitives::v1::{Signed, ValidatorPair, AvailabilityBitfield};
use polkadot_node_subsystem_test_helpers::make_subsystem_context;
use smol_timeout::TimeoutExt;
use polkadot_node_subsystem_test_helpers::{make_subsystem_context, TimeoutExt};
use sp_core::crypto::Pair;
use std::time::Duration;
use assert_matches::assert_matches;