From c6dfa7a1aceb818cfa2795dadfdf1dbd93eca7b5 Mon Sep 17 00:00:00 2001 From: Emilia Hane Date: Fri, 10 Feb 2023 21:15:57 +0100 Subject: [PATCH] fixup! Add tests for blob pruning flags --- lighthouse/tests/beacon_node.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lighthouse/tests/beacon_node.rs b/lighthouse/tests/beacon_node.rs index ffa28583ff..d6cdbd2aa6 100644 --- a/lighthouse/tests/beacon_node.rs +++ b/lighthouse/tests/beacon_node.rs @@ -1364,7 +1364,7 @@ fn epochs_per_blob_prune_on_startup_five() { CommandLineTest::new() .flag("epochs-per-blob-prune", Some("5")) .run_with_zero_port() - .with_config(|config| assert!(!config.store.epochs_per_blob_prune == 5)); + .with_config(|config| assert!(config.store.epochs_per_blob_prune == 5)); } #[test] fn blob_prune_margin_epochs_default() { @@ -1377,7 +1377,7 @@ fn blob_prune_margin_epochs_on_startup_ten() { CommandLineTest::new() .flag("blob-prune-margin-epochs", Some("10")) .run_with_zero_port() - .with_config(|config| assert!(!config.store.blob_prune_margin_epochs == 10)); + .with_config(|config| assert!(config.store.blob_prune_margin_epochs == 10)); } #[test] fn reconstruct_historic_states_flag() {