utils: handle race condition gracefully (#1583)

* utils: handle race condition gracefully

* utils: add a test

* update Cargo.lock

* utils: remove a warning

* utils: init logger in tests

* utils: update the outdated comment

* util: wait for both subsystem and test_future to finish

* Revert "util: wait for both subsystem and test_future to finish"

This reverts commit 075b39242cd7200e3f4c24ea42f702c3124ce41c.
This commit is contained in:
Andronik Ordian
2020-08-21 15:30:18 +02:00
committed by GitHub
parent cc19f13468
commit 44354e717b
3 changed files with 38 additions and 4 deletions
+1
View File
@@ -30,3 +30,4 @@ async-trait = "0.1"
futures = { version = "0.3.5", features = ["thread-pool"] }
parking_lot = "0.10.0"
polkadot-node-subsystem-test-helpers = { path = "../subsystem-test-helpers" }
env_logger = "0.7.1"