Skip to content

Commit 3916591

Browse files
authored
test: update test for history:state storage ratio (#1565)
1 parent 45f1ec6 commit 3916591

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

trin-storage/src/config.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,11 @@ mod tests {
130130
#[case::history_history(vec![Subnetwork::History], 100, Subnetwork::History, Some(100_000_000))]
131131
#[case::history_state(vec![Subnetwork::History], 100, Subnetwork::State, None)]
132132
#[case::historystate_beacon(vec![Subnetwork::History, Subnetwork::State], 100, Subnetwork::Beacon, None)]
133-
#[case::historystate_history(vec![Subnetwork::History, Subnetwork::State], 100, Subnetwork::History, Some(1_000_000))]
134-
#[case::historystate_state(vec![Subnetwork::History, Subnetwork::State], 100, Subnetwork::State, Some(99_000_000))]
133+
#[case::historystate_history(vec![Subnetwork::History, Subnetwork::State], 100, Subnetwork::History, Some(50_000_000))]
134+
#[case::historystate_state(vec![Subnetwork::History, Subnetwork::State], 100, Subnetwork::State, Some(50_000_000))]
135135
#[case::beaconhistorystate_beacon(vec![Subnetwork::Beacon, Subnetwork::History, Subnetwork::State], 100, Subnetwork::Beacon, Some(0))]
136-
#[case::beaconhistorystate_history(vec![Subnetwork::Beacon, Subnetwork::History, Subnetwork::State], 100, Subnetwork::History, Some(1_000_000))]
137-
#[case::beaconhistorystate_state(vec![Subnetwork::Beacon, Subnetwork::History, Subnetwork::State], 100, Subnetwork::State, Some(99_000_000))]
136+
#[case::beaconhistorystate_history(vec![Subnetwork::Beacon, Subnetwork::History, Subnetwork::State], 100, Subnetwork::History, Some(50_000_000))]
137+
#[case::beaconhistorystate_state(vec![Subnetwork::Beacon, Subnetwork::History, Subnetwork::State], 100, Subnetwork::State, Some(50_000_000))]
138138
fn combined_capacity_config(
139139
#[case] subnetworks: Vec<Subnetwork>,
140140
#[case] total_mb: u32,

0 commit comments

Comments
 (0)