mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 16:55:46 +00:00
Update lighthouse/tests/exec.rs
Co-authored-by: realbigsean <seananderson33@GMAIL.com>
This commit is contained in:
@@ -32,7 +32,7 @@ pub trait CommandLineTestExec {
|
|||||||
let tmp_config_path: PathBuf = tmp_dir.path().join("config.json");
|
let tmp_config_path: PathBuf = tmp_dir.path().join("config.json");
|
||||||
let tmp_chain_config_path: PathBuf = tmp_dir.path().join("chain_spec.yaml");
|
let tmp_chain_config_path: PathBuf = tmp_dir.path().join("chain_spec.yaml");
|
||||||
|
|
||||||
// Add args --datadir <tmp_dir> --dump-config <tmp_config_path> --immediate-shutdown
|
// Add args --datadir <tmp_dir> --dump-config <tmp_config_path> --dump-chain-config <tmp_chain_config_path> --immediate-shutdown
|
||||||
let cmd = self.cmd_mut();
|
let cmd = self.cmd_mut();
|
||||||
cmd.arg("--datadir")
|
cmd.arg("--datadir")
|
||||||
.arg(tmp_dir.path().as_os_str())
|
.arg(tmp_dir.path().as_os_str())
|
||||||
|
|||||||
Reference in New Issue
Block a user