diff options
author | Jan Uhlig <[email protected]> | 2024-11-11 09:38:59 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2024-11-12 14:56:59 +0100 |
commit | 0c7d35042f198287b867743f85765b6adb18361b (patch) | |
tree | 8ff2b027a0bb6362e219c01e394eb941e61ca5f8 /test | |
parent | 53a8db10195f9aae640b238fa3d571bf0136a55a (diff) | |
download | ranch-0c7d35042f198287b867743f85765b6adb18361b.tar.gz ranch-0c7d35042f198287b867743f85765b6adb18361b.tar.bz2 ranch-0c7d35042f198287b867743f85765b6adb18361b.zip |
Add backwards compatibility note to tests
Diffstat (limited to 'test')
-rw-r--r-- | test/acceptor_SUITE.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/acceptor_SUITE.erl b/test/acceptor_SUITE.erl index 1b0bfd4..ba57c86 100644 --- a/test/acceptor_SUITE.erl +++ b/test/acceptor_SUITE.erl @@ -600,6 +600,8 @@ misc_connection_alarms(_) -> end, Alarms0 = #{ test1 => Alarm1 = #{type => num_connections, threshold => 2, cooldown => 0, callback => AlarmCallback}, + %% The test2 alarm uses the misspelled treshold key to test for backwards compatibility. + %% @TODO: Change to use the proper spelling when treshold gets removed in Ranch 3.0. test2 => Alarm2 = #{type => num_connections, treshold => 3, cooldown => 0, callback => AlarmCallback} }, ConnectOpts = [binary, {active, false}, {packet, raw}], |