Tests: support 'substrate-node' too and allow multiple binary paths (#1102)

* Support 'substrate-node' too and allow multiple binary paths

* fmt

* clippy

* fix path
This commit is contained in:
James Wilson
2023-07-31 12:25:50 +01:00
committed by GitHub
parent 40371385fb
commit fd853b9b72
3 changed files with 66 additions and 33 deletions
@@ -76,7 +76,7 @@ impl TestNodeProcessBuilder {
{
let mut node_builder = SubstrateNode::builder();
node_builder.binary_path(self.node_path);
node_builder.binary_paths(&[self.node_path]);
if let Some(authority) = &self.authority {
node_builder.arg(authority.to_lowercase());