From 58584ef5864ab3c642757441b0fb632177c55818 Mon Sep 17 00:00:00 2001 From: William Yang Date: Wed, 11 Dec 2024 19:19:03 +0100 Subject: [PATCH] test(proper): ensure overrides --- test/quicer_prop_gen.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/quicer_prop_gen.erl b/test/quicer_prop_gen.erl index a1750d7e..dd0c3d24 100644 --- a/test/quicer_prop_gen.erl +++ b/test/quicer_prop_gen.erl @@ -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()) -> _.