mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 13:24:44 +00:00
Fix tests
This commit is contained in:
@@ -514,7 +514,7 @@ fn beacon_node_sync_tolerance_flag() {
|
||||
#[test]
|
||||
fn beacon_node_small_sync_distance_modifier_flag() {
|
||||
CommandLineTest::new()
|
||||
.flag("beacon-node-small-sync-distance-modifer", Some("16"))
|
||||
.flag("beacon-node-small-sync-distance-modifier", Some("16"))
|
||||
.run()
|
||||
.with_config(|config| {
|
||||
assert_eq!(
|
||||
@@ -526,7 +526,7 @@ fn beacon_node_small_sync_distance_modifier_flag() {
|
||||
#[test]
|
||||
fn beacon_node_medium_sync_distance_modifier_flag() {
|
||||
CommandLineTest::new()
|
||||
.flag("beacon-node-medium-sync-distance-modifer", Some("32"))
|
||||
.flag("beacon-node-medium-sync-distance-modifier", Some("32"))
|
||||
.run()
|
||||
.with_config(|config| {
|
||||
assert_eq!(
|
||||
|
||||
@@ -299,7 +299,6 @@ impl BeaconNodeHealth {
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
|
||||
use super::ExecutionEngineHealth::{Healthy, Unhealthy};
|
||||
use super::{
|
||||
BeaconNodeHealth, BeaconNodeHealthTier, BeaconNodeSyncDistanceTiers, IsOptimistic,
|
||||
|
||||
Reference in New Issue
Block a user