Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Prev Previous commit
Update test/parachain/tests/running_the_node_and_interrupt.rs
Co-Authored-By: Bastian Köcher <[email protected]>
  • Loading branch information
cecton and bkchr authored Feb 7, 2020
commit 6e2110132f4ae23ba44113bae034d0e5d8e731f6
2 changes: 1 addition & 1 deletion test/parachain/tests/running_the_node_and_interrupt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fn running_the_node_works_and_can_be_interrupted() {
}

fn run_command_and_kill(signal: Signal) {
let mut cmd = Command::new(cargo_bin("cumulus-test-parachain-collator")).spawn().unwrap();
let mut cmd = Command::new(cargo_bin("cumulus-test-parachain-collator")).args(&["--dev", "-d", "interrupt_test"]).spawn().unwrap();
sleep(Duration::from_secs(30));
assert!(cmd.try_wait().unwrap().is_none(), "the process should still be running");
kill(Pid::from_raw(cmd.id().try_into().unwrap()), signal).unwrap();
Expand Down