This commit is contained in:
Carl
2019-03-10 17:33:01 -07:00
committed by Pankaj Garg
parent ccd1173a83
commit 3ddf4b6c24
5 changed files with 10 additions and 14 deletions

View File

@@ -214,8 +214,7 @@ mod test {
#[test]
fn test_local_cluster_start_and_exit() {
solana_logger::setup();
let cluster = LocalCluster::new(1, 100, 3);
drop(cluster)
let _cluster = LocalCluster::new(1, 100, 3);
}
#[test]
@@ -223,7 +222,6 @@ mod test {
solana_logger::setup();
let mut fullnode_exit = FullnodeConfig::default();
fullnode_exit.rpc_config.enable_fullnode_exit = true;
let cluster = LocalCluster::new_with_config(&[3], 100, &fullnode_exit);
drop(cluster)
let _cluster = LocalCluster::new_with_config(&[3], 100, &fullnode_exit);
}
}