From 391659184d7eea6287fed64173ce9ca5f50e3ed9 Mon Sep 17 00:00:00 2001 From: Jason Carver Date: Tue, 29 Oct 2024 12:26:37 -0700 Subject: [PATCH] test: update test for history:state storage ratio (#1565) --- trin-storage/src/config.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/trin-storage/src/config.rs b/trin-storage/src/config.rs index f9105f012..07b3a6c49 100644 --- a/trin-storage/src/config.rs +++ b/trin-storage/src/config.rs @@ -130,11 +130,11 @@ mod tests { #[case::history_history(vec![Subnetwork::History], 100, Subnetwork::History, Some(100_000_000))] #[case::history_state(vec![Subnetwork::History], 100, Subnetwork::State, None)] #[case::historystate_beacon(vec![Subnetwork::History, Subnetwork::State], 100, Subnetwork::Beacon, None)] - #[case::historystate_history(vec![Subnetwork::History, Subnetwork::State], 100, Subnetwork::History, Some(1_000_000))] - #[case::historystate_state(vec![Subnetwork::History, Subnetwork::State], 100, Subnetwork::State, Some(99_000_000))] + #[case::historystate_history(vec![Subnetwork::History, Subnetwork::State], 100, Subnetwork::History, Some(50_000_000))] + #[case::historystate_state(vec![Subnetwork::History, Subnetwork::State], 100, Subnetwork::State, Some(50_000_000))] #[case::beaconhistorystate_beacon(vec![Subnetwork::Beacon, Subnetwork::History, Subnetwork::State], 100, Subnetwork::Beacon, Some(0))] - #[case::beaconhistorystate_history(vec![Subnetwork::Beacon, Subnetwork::History, Subnetwork::State], 100, Subnetwork::History, Some(1_000_000))] - #[case::beaconhistorystate_state(vec![Subnetwork::Beacon, Subnetwork::History, Subnetwork::State], 100, Subnetwork::State, Some(99_000_000))] + #[case::beaconhistorystate_history(vec![Subnetwork::Beacon, Subnetwork::History, Subnetwork::State], 100, Subnetwork::History, Some(50_000_000))] + #[case::beaconhistorystate_state(vec![Subnetwork::Beacon, Subnetwork::History, Subnetwork::State], 100, Subnetwork::State, Some(50_000_000))] fn combined_capacity_config( #[case] subnetworks: Vec, #[case] total_mb: u32,