From 53a8db10195f9aae640b238fa3d571bf0136a55a Mon Sep 17 00:00:00 2001 From: Jan Uhlig Date: Wed, 2 Oct 2024 12:22:10 +0200 Subject: Fix alarm setting typo The setting `threshold` was misspelled as `treshold`. --- test/acceptor_SUITE.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/acceptor_SUITE.erl b/test/acceptor_SUITE.erl index 9bf4ffc..1b0bfd4 100644 --- a/test/acceptor_SUITE.erl +++ b/test/acceptor_SUITE.erl @@ -599,7 +599,7 @@ misc_connection_alarms(_) -> Self ! {connection_alarm, {Ref, AlarmName, length(ActiveConns)}} end, Alarms0 = #{ - test1 => Alarm1 = #{type => num_connections, treshold => 2, cooldown => 0, callback => AlarmCallback}, + test1 => Alarm1 = #{type => num_connections, threshold => 2, cooldown => 0, callback => AlarmCallback}, test2 => Alarm2 = #{type => num_connections, treshold => 3, cooldown => 0, callback => AlarmCallback} }, ConnectOpts = [binary, {active, false}, {packet, raw}], -- cgit v1.2.3