Skip to content

Commit

Permalink
fix(test): polkadot node with --unsafe-force-node-key-generation (#816
Browse files Browse the repository at this point in the history
)

Run the polkadot node with `--unsafe-force-node-key-generation` after new
changes.
  • Loading branch information
niklasad1 authored Apr 16, 2024
1 parent 5d3b395 commit 078d35c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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<SolutionStored> {
let api = ChainClient::from_url(&ws_url).await?;
let now = Instant::now();
Expand Down

0 comments on commit 078d35c

Please sign in to comment.