Fix: CI failing for some CLI tests (#5043)

* Initial commit

Forked at: ad90ab7ec9
Parent branch: origin/master

* Increase killing grace period of CLI tests and display more info

* Use --dev everywhere possible

* Put pruning mode to its own params struct

* Add pruning params to export-blocks command

* Added missing file

* Removed not-dev mode in tests

* Add pruning mode to the revert command

* Decrease killing grace period again

* Move back unsafe_pruning to import_params

* Applied proposed changes
This commit is contained in:
Cecile Tonglet
2020-02-25 15:48:50 +01:00
committed by GitHub
parent 6abed97394
commit 2478046021
10 changed files with 112 additions and 56 deletions
@@ -25,7 +25,7 @@ mod common;
fn purge_chain_works() {
let base_path = tempdir().expect("could not create a temp dir");
common::run_command_for_a_while(base_path.path(), true);
common::run_dev_node_for_a_while(base_path.path());
let status = Command::new(cargo_bin("substrate"))
.args(&["purge-chain", "--dev", "-d"])