Less sleeps (#9848)

* Less sleeps

* No need to use tokio-test crate

* Less sleep

* Avoid leaving zombie substrates around

(when panicing in tests)

* Remove unused imports

* Incorporating feedback

* rename method

* Use rpc_api

* Update bin/node/cli/tests/temp_base_path_works.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* Update bin/node/cli/tests/temp_base_path_works.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Squirrel
2021-09-29 11:55:31 +01:00
committed by GitHub
parent f71d87ad28
commit e64693933f
14 changed files with 154 additions and 116 deletions
+6 -2
View File
@@ -4512,6 +4512,7 @@ dependencies = [
"frame-system",
"futures 0.3.16",
"hex-literal",
"jsonrpsee-ws-client",
"log 0.4.14",
"nix",
"node-executor",
@@ -4525,6 +4526,7 @@ dependencies = [
"platforms",
"rand 0.7.3",
"regex",
"remote-externalities",
"sc-authority-discovery",
"sc-basic-authorship",
"sc-chain-spec",
@@ -4569,7 +4571,9 @@ dependencies = [
"substrate-build-script-utils",
"substrate-frame-cli",
"tempfile",
"tokio",
"try-runtime-cli",
"wait-timeout",
]
[[package]]
@@ -10478,9 +10482,9 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
[[package]]
name = "tokio"
version = "1.10.0"
version = "1.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "01cf844b23c6131f624accf65ce0e4e9956a8bb329400ea5bcc26ae3a5c20b0b"
checksum = "c2c2416fdedca8443ae44b4527de1ea633af61d8f7169ffa6e72c5b53d24efcc"
dependencies = [
"autocfg 1.0.1",
"bytes 1.0.1",