mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-02 04:03:35 +00:00
Update lighthouse/tests/exec.rs
Co-authored-by: realbigsean <seananderson33@GMAIL.com>
This commit is contained in:
@@ -70,7 +70,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(format!("--{}", "--dump-config"))
|
cmd.arg(format!("--{}", "--dump-config"))
|
||||||
.arg(tmp_config_path.as_os_str())
|
.arg(tmp_config_path.as_os_str())
|
||||||
|
|||||||
Reference in New Issue
Block a user