Skip to content

Commit

Permalink
test(proper): further limit testing range
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhuyan committed Dec 11, 2024
1 parent 6971406 commit f21f79c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/prop_quic_types.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
| {peer_unidi_stream_count, uint16()}
| {retry_memory_limit, uint16()}
| {load_balancing_mode, 0..2}
| {max_operations_per_drain, uint8()}
| {max_operations_per_drain, 1..(1 bsl 8 - 1)}
| {send_buffering_enabled, 0 | 1}
| {pacing_enabled, 0 | 1}
| {migration_enabled, 0 | 1}
Expand Down
4 changes: 2 additions & 2 deletions test/quicer_prop_gen.erl
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,8 @@ valid_quicer_settings() ->
quicer_setting_val_is_power_2(stream_recv_window_bidi_local_default, Opts) andalso
quicer_setting_val_is_power_2(stream_recv_window_bidi_remote_default, Opts) andalso
quicer_setting_val_is_power_2(stream_recv_window_unidi_default, Opts) andalso
(proplists:get_value(maximum_mtu, Opts, 1500) >
proplists:get_value(minimum_mtu, Opts, 1248))
(proplists:get_value(maximum_mtu, lists:reverse(Opts), 1500) >
proplists:get_value(minimum_mtu, lists:reverse(Opts), 1248))
).

-spec ensure_dummy_listener(non_neg_integer()) -> _.
Expand Down

0 comments on commit f21f79c

Please sign in to comment.