Companion for #4639 (Remove sleep from tests ) (#890)

* fix tests

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* update lockfile for polkadot

Co-authored-by: parity-processbot <>
This commit is contained in:
sandreim
2022-01-10 13:33:10 +02:00
committed by GitHub
parent 76fdc9d11a
commit 599da09a40
2 changed files with 263 additions and 236 deletions
+256 -234
View File
File diff suppressed because it is too large Load Diff
+7 -2
View File
@@ -732,11 +732,16 @@ pub fn run_relay_chain_validator_node(
storage_update_func: impl Fn(), storage_update_func: impl Fn(),
boot_nodes: Vec<MultiaddrWithPeerId>, boot_nodes: Vec<MultiaddrWithPeerId>,
) -> polkadot_test_service::PolkadotTestNode { ) -> polkadot_test_service::PolkadotTestNode {
polkadot_test_service::run_validator_node( let config = polkadot_test_service::node_config(
storage_update_func,
tokio_handle, tokio_handle,
key, key,
storage_update_func,
boot_nodes, boot_nodes,
true,
);
polkadot_test_service::run_validator_node(
config,
Some(cumulus_test_relay_validation_worker_provider::VALIDATION_WORKER.into()), Some(cumulus_test_relay_validation_worker_provider::VALIDATION_WORKER.into()),
) )
} }