Companion for Taskmanager: Remove clean_shutdown (#4336)

* Companion for Taskmanager: Remove `clean_shutdown`

https://github.com/paritytech/substrate/pull/10314

* Update Substrate

* Remove warning
This commit is contained in:
Bastian Köcher
2021-11-19 22:23:35 +01:00
committed by GitHub
parent e0af286dac
commit be7dedd20c
4 changed files with 187 additions and 198 deletions
+187 -186
View File
File diff suppressed because it is too large Load Diff
@@ -52,7 +52,4 @@ async fn ensure_test_service_build_blocks() {
_ = t3 => panic!("service Bob failed"),
}
}
alice.task_manager.clean_shutdown().await;
bob.task_manager.clean_shutdown().await;
}
@@ -35,6 +35,4 @@ async fn call_function_actually_work() {
let result = object.get("result");
let result = result.expect("key result exists");
assert_eq!(result.as_str().map(|x| x.starts_with("0x")), Some(true), "result starts with 0x");
alice.task_manager.clean_shutdown().await;
}
@@ -22,7 +22,6 @@ const PUPPET_EXE: &str = env!("CARGO_BIN_EXE_adder_collator_puppet_worker");
// If this test is failing, make sure to run all tests with the `real-overseer` feature being enabled.
#[substrate_test_utils::test]
async fn collating_using_adder_collator() {
use futures::join;
use polkadot_primitives::v1::Id as ParaId;
use sp_keyring::AccountKeyring::*;
@@ -80,10 +79,4 @@ async fn collating_using_adder_collator() {
// Wait until the collator received `12` seconded statements for its collations.
collator.wait_for_seconded_collations(12).await;
join!(
alice.task_manager.clean_shutdown(),
bob.task_manager.clean_shutdown(),
charlie.task_manager.clean_shutdown(),
);
}