cargo fmt fixups
This commit is contained in:
committed by
Michael Vines
parent
3e36e6dcf8
commit
f2b1a04bca
@@ -263,7 +263,8 @@ fn test_external_liveness_table() {
|
||||
c4.write().unwrap().insert(&c1_data);
|
||||
c4.write().unwrap().set_leader(c1_data.id);
|
||||
for _ in 0..30 {
|
||||
done = c1.read()
|
||||
done = c1
|
||||
.read()
|
||||
.unwrap()
|
||||
.get_external_liveness_entry(&c4_id)
|
||||
.is_none();
|
||||
|
@@ -393,14 +393,16 @@ fn test_multi_node_dynamic_network() {
|
||||
logger::setup();
|
||||
let key = "SOLANA_DYNAMIC_NODES";
|
||||
let num_nodes: usize = match env::var(key) {
|
||||
Ok(val) => val.parse()
|
||||
Ok(val) => val
|
||||
.parse()
|
||||
.expect(&format!("env var {} is not parse-able as usize", key)),
|
||||
Err(_) => 60,
|
||||
};
|
||||
|
||||
let purge_key = "SOLANA_DYNAMIC_NODES_PURGE_LAG";
|
||||
let purge_lag: usize = match env::var(purge_key) {
|
||||
Ok(val) => val.parse()
|
||||
Ok(val) => val
|
||||
.parse()
|
||||
.expect(&format!("env var {} is not parse-able as usize", purge_key)),
|
||||
Err(_) => std::usize::MAX,
|
||||
};
|
||||
|
Reference in New Issue
Block a user