Stop validator first to stop voting before the leader stops

This commit is contained in:
Michael Vines 2018-07-26 17:20:56 -07:00
parent 7672506b45
commit c52d4eca0b
1 changed files with 1 additions and 1 deletions

View File

@ -274,8 +274,8 @@ fn test_boot_validator_from_file() {
let getbal = retry_get_balance(&mut client, &bob_pubkey, Some(leader_balance));
assert!(getbal == Some(leader_balance));
leader_fullnode.close().unwrap();
val_fullnode.close().unwrap();
leader_fullnode.close().unwrap();
std::fs::remove_file(ledger_path).unwrap();
}