Skip to content

Commit

Permalink
test: update test for history:state storage ratio (#1565)
Browse files Browse the repository at this point in the history
  • Loading branch information
carver authored Oct 29, 2024
1 parent 45f1ec6 commit 3916591
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions trin-storage/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Subnetwork>,
#[case] total_mb: u32,
Expand Down

0 comments on commit 3916591

Please sign in to comment.