Unverified Commit 1cd96bb6 authored by Cecile Tonglet's avatar Cecile Tonglet Committed by GitHub
Browse files

Companion PR for https://github.com/paritytech/substrate/pull/6400 (#1287)

* Initial commit

Forked at: f351f42c
Parent branch: origin/master

* Substrate companion PR

impl Debug for sc_service::Configuration

Related to: https://github.com/paritytech/substrate/pull/6400



* Bump
Co-authored-by: default avatarGav Wood <gavin@parity.io>
parent 70fd4392
Pipeline #98012 canceled with stages
This diff is collapsed.
......@@ -501,14 +501,14 @@ mod tests {
}
}
// Make sure that the future returned by `start_collator` implementes `Send`.
// Make sure that the future returned by `start_collator` implements `Send`.
#[test]
fn start_collator_is_send() {
fn check_send<T: Send>(_: T) {}
let cli = Cli::from_iter(&["-dev"]);
let task_executor = Arc::new(|_, _| unimplemented!());
let config = cli.create_configuration(&cli.run.base, task_executor).unwrap();
let task_executor = |_, _| unimplemented!();
let config = cli.create_configuration(&cli.run.base, task_executor.into()).unwrap();
check_send(start_collator(
BuildDummyParachainContext,
......
Supports Markdown
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