Unverified Commit 58e4ef8e authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Companion for Taskmanager: Remove `clean_shutdown` (#4336)

* Companion for Taskmanager: Remove `clean_shutdown`

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

* Update Substrate

* Remove warning
parent 16fb4698
Pipeline #167053 passed with stages
in 49 minutes and 6 seconds
This diff is collapsed.
......@@ -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(),
);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment