From 078d35c18094b97f77e88db98873b4c23639c26f Mon Sep 17 00:00:00 2001 From: Niklas Adolfsson Date: Tue, 16 Apr 2024 10:34:30 +0200 Subject: [PATCH] fix(test): polkadot node with `--unsafe-force-node-key-generation` (#816) Run the polkadot node with `--unsafe-force-node-key-generation` after new changes. --- tests/common.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/common.rs b/tests/common.rs index ddafda2c1..29693c379 100644 --- a/tests/common.rs +++ b/tests/common.rs @@ -93,6 +93,7 @@ pub fn run_polkadot_node(chain: Chain) -> (KillChildOnDrop, String) { &chain_str, "--tmp", "--alice", + "--unsafe-force-node-key-generation", "--execution", "Native", "--offchain-worker=Never", @@ -184,7 +185,7 @@ pub async fn test_submit_solution(target: Target) { /// Wait until a solution is ready on chain /// -/// Timeout's after 15 minutes which is regarded as an error. +/// Timeout's after 6 minutes then it's regarded as an error. pub async fn wait_for_mined_solution(ws_url: &str) -> anyhow::Result { let api = ChainClient::from_url(&ws_url).await?; let now = Instant::now();