Skip to content

Commit

Permalink
test(coin_select): fix waste_prop_waste from timing out
Browse files Browse the repository at this point in the history
  • Loading branch information
evanlinjin committed Aug 21, 2023
1 parent 728d626 commit a3bdfb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions nursery/coin_select/tests/waste.proptest-regressions
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ cc b526e3a05e5dffce95e0cf357f68d6819b5b92a1c4abd79fd8fe0e2582521352 # shrinks to
cc f3c37a516004e7eda9183816d72bede9084ce678830d6582f2d63306f618adee # shrinks to num_inputs = 40, target = 6598, feerate = 8.487553, min_fee = 221, base_weight = 126, long_term_feerate_diff = 3.3214626, change_weight = 18, change_spend_weight = 18
cc a6d03a6d93eb8d5a082d69a3d1677695377823acafe3dba954ac86519accf152 # shrinks to num_inputs = 49, target = 2917, feerate = 9.786607, min_fee = 0, base_weight = 4, long_term_feerate_diff = -0.75053596, change_weight = 77, change_spend_weight = 81
cc a1eccddab6d7da9677575154a27a1e49b391041ed9e32b9bf937efd72ef0ab03 # shrinks to num_inputs = 12, target = 3988, feerate = 4.3125916, min_fee = 453, base_weight = 0, long_term_feerate_diff = -0.018570423, change_weight = 15, change_spend_weight = 32
cc 4bb301aaba29e5f5311bb57c8737279045f7ad594adb91b94c5e080d3ba21933 # shrinks to num_inputs = 33, target = 2023, feerate = 4.4804115, min_fee = 965, base_weight = 0, long_term_feerate_diff = -0.30981845, change_weight = 80, change_spend_weight = 95
2 changes: 1 addition & 1 deletion nursery/coin_select/tests/waste.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ proptest! {
#[test]
#[cfg(not(debug_assertions))] // too slow if compiling for debug
fn waste_prop_waste(
num_inputs in 0usize..50,
num_inputs in 0usize..20,
target in 0u64..25_000,
feerate in 1.0f32..10.0,
min_fee in 0u64..1_000,
Expand Down

0 comments on commit a3bdfb9

Please sign in to comment.