Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove unused imports
  • Loading branch information
gilescope committed Sep 27, 2021
commit 30dffc6b09b0c170830ad782fa375d2fdefa06cd
2 changes: 1 addition & 1 deletion bin/node/cli/tests/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ pub async fn run_node_for_a_while(base_path: &Path, args: &[&str]) {
let mut child = KillChildOnDrop(cmd.args(args).arg("-d").arg(base_path).spawn().unwrap());

// Let it produce some blocks.
wait_n_blocks(3, 30).await;
let _ = wait_n_blocks(3, 30).await;

assert!(child.try_wait().unwrap().is_none(), "the process should still be running");

Expand Down
2 changes: 0 additions & 2 deletions bin/node/cli/tests/running_the_node_and_interrupt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ use nix::{
},
unistd::Pid,
};
use sc_service::Deref;
use std::{
convert::TryInto,
ops::DerefMut,
process::{Child, Command},
};
use tempfile::tempdir;
Expand Down