Skip to content

Commit

Permalink
Release lock on wallet in e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sug0 committed Oct 21, 2022
1 parent 1821861 commit 839793f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/src/e2e/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ pub fn network(
println!("'init-network' output: {}", unread);
let net = Network { chain_id };

// release lock on wallet by dropping the
// child process
drop(init_network);

// Move the "others" accounts wallet in the main base dir, so that we can
// use them with `Who::NonValidator`
let chain_dir = test_dir.path().join(net.chain_id.as_str());
Expand Down

0 comments on commit 839793f

Please sign in to comment.