Restart node test (#3459) (#3465)

* Restart node test (#3459)

* Add test to local_cluster for restarting a node

* fix so that we don't hit end of epoch - leader not found before trying to transfer

* Do not look for confirmations, b/c nobody is voting on empty transmissions in this single node test
This commit is contained in:
carllin
2019-03-23 19:19:55 -07:00
committed by GitHub
parent e1a3708844
commit 68c35bfde6
7 changed files with 149 additions and 33 deletions

6
core/src/cluster.rs Normal file
View File

@ -0,0 +1,6 @@
use solana_sdk::pubkey::Pubkey;
pub trait Cluster {
fn get_node_ids(&self) -> Vec<Pubkey>;
fn restart_node(&mut self, pubkey: Pubkey);
}