Skip to content

Commit c153450

Browse files
authored
test(transport): loosen min_bandwidth test tolerance (mozilla#3195)
mozilla#3125 improved the flow control auto-tuning algorithm and added a test that asserts an 80% bandwidth usage. That limit seems to be too tight, as we spuriously see failures. Setting to 60% for now.
1 parent be1e755 commit c153450

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

neqo-transport/src/fc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,7 @@ mod test {
12341234
/// Allow auto-tuning algorithm to be off from actual bandwidth-delay
12351235
/// product by up to 1KiB.
12361236
const TOLERANCE: u64 = 1024;
1237-
const BW_TOLERANCE: f64 = 0.8;
1237+
const BW_TOLERANCE: f64 = 0.6;
12381238

12391239
test_fixture::fixture_init();
12401240

0 commit comments

Comments
 (0)