adds metrics tracking crds writes and votes (#20953)
This commit is contained in:
@ -494,6 +494,7 @@ mod tests {
|
||||
crate::rpc::create_validator_exit,
|
||||
solana_gossip::{
|
||||
contact_info::ContactInfo,
|
||||
crds::GossipRoute,
|
||||
crds_value::{CrdsData, CrdsValue, SnapshotHashes},
|
||||
},
|
||||
solana_ledger::{
|
||||
@ -794,6 +795,7 @@ mod tests {
|
||||
],
|
||||
))),
|
||||
1,
|
||||
GossipRoute::LocalMessage,
|
||||
)
|
||||
.unwrap();
|
||||
assert_eq!(rm.health_check(), "ok");
|
||||
@ -810,6 +812,7 @@ mod tests {
|
||||
vec![(1000 + health_check_slot_distance - 1, Hash::default())],
|
||||
))),
|
||||
1,
|
||||
GossipRoute::LocalMessage,
|
||||
)
|
||||
.unwrap();
|
||||
assert_eq!(rm.health_check(), "ok");
|
||||
@ -826,6 +829,7 @@ mod tests {
|
||||
vec![(1000 + health_check_slot_distance, Hash::default())],
|
||||
))),
|
||||
1,
|
||||
GossipRoute::LocalMessage,
|
||||
)
|
||||
.unwrap();
|
||||
assert_eq!(rm.health_check(), "behind");
|
||||
|
Reference in New Issue
Block a user