mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
Co-authored-by: parity-processbot <> Co-authored-by: kianenigma <kian@parity.io>
This commit is contained in:
@@ -21,7 +21,7 @@ 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(task_executor: sc_service::TaskExecutor) {
|
||||
async fn collating_using_adder_collator() {
|
||||
use futures::join;
|
||||
use polkadot_primitives::v1::Id as ParaId;
|
||||
use sp_keyring::AccountKeyring::*;
|
||||
@@ -34,7 +34,7 @@ async fn collating_using_adder_collator(task_executor: sc_service::TaskExecutor)
|
||||
|
||||
// start alice
|
||||
let alice = polkadot_test_service::run_validator_node(
|
||||
task_executor.clone(),
|
||||
tokio::runtime::Handle::current(),
|
||||
Alice,
|
||||
|| {},
|
||||
vec![],
|
||||
@@ -43,7 +43,7 @@ async fn collating_using_adder_collator(task_executor: sc_service::TaskExecutor)
|
||||
|
||||
// start bob
|
||||
let bob = polkadot_test_service::run_validator_node(
|
||||
task_executor.clone(),
|
||||
tokio::runtime::Handle::current(),
|
||||
Bob,
|
||||
|| {},
|
||||
vec![alice.addr.clone()],
|
||||
@@ -60,7 +60,7 @@ async fn collating_using_adder_collator(task_executor: sc_service::TaskExecutor)
|
||||
|
||||
// run the collator node
|
||||
let mut charlie = polkadot_test_service::run_collator_node(
|
||||
task_executor.clone(),
|
||||
tokio::runtime::Handle::current(),
|
||||
Charlie,
|
||||
|| {},
|
||||
vec![alice.addr.clone(), bob.addr.clone()],
|
||||
|
||||
Reference in New Issue
Block a user