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