Skip to content

Commit 9238cdd

Browse files
committed
test(proper): further limit testing range
1 parent 3c5c6ca commit 9238cdd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/prop_quic_types.hrl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
| {peer_unidi_stream_count, uint16()}
119119
| {retry_memory_limit, uint16()}
120120
| {load_balancing_mode, 0..2}
121-
| {max_operations_per_drain, uint8()}
121+
| {max_operations_per_drain, 1..(1 bsl 8 - 1)}
122122
| {send_buffering_enabled, 0 | 1}
123123
| {pacing_enabled, 0 | 1}
124124
| {migration_enabled, 0 | 1}

test/quicer_prop_gen.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,8 @@ valid_quicer_settings() ->
301301
quicer_setting_val_is_power_2(stream_recv_window_bidi_local_default, Opts) andalso
302302
quicer_setting_val_is_power_2(stream_recv_window_bidi_remote_default, Opts) andalso
303303
quicer_setting_val_is_power_2(stream_recv_window_unidi_default, Opts) andalso
304-
(proplists:get_value(maximum_mtu, Opts, 1500) >
305-
proplists:get_value(minimum_mtu, Opts, 1248))
304+
(proplists:get_value(maximum_mtu, lists:reverse(Opts), 1500) >
305+
proplists:get_value(minimum_mtu, lists:reverse(Opts), 1248))
306306
).
307307

308308
-spec ensure_dummy_listener(non_neg_integer()) -> _.

0 commit comments

Comments
 (0)