summaryrefslogtreecommitdiff
path: root/lib/snmp
diff options
context:
space:
mode:
authorMicael Karlberg <bmk@erlang.org>2022-01-24 14:01:16 +0100
committerMicael Karlberg <bmk@erlang.org>2022-01-28 16:17:30 +0100
commit0f4661153be63be35b258b2893f3d2a919494853 (patch)
tree73c5c2604cee89a7b2cd5dbe0367cef1a40401b0 /lib/snmp
parent39e4c798d03f540bf980d8e3191b68d7c38d1ac7 (diff)
downloaderlang-0f4661153be63be35b258b2893f3d2a919494853.tar.gz
[snmp|test] More not-in-time-window detection adjustments
Diffstat (limited to 'lib/snmp')
-rw-r--r--lib/snmp/test/snmp_agent_test_lib.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/snmp/test/snmp_agent_test_lib.erl b/lib/snmp/test/snmp_agent_test_lib.erl
index e82f374a8d..27c4248c49 100644
--- a/lib/snmp/test/snmp_agent_test_lib.erl
+++ b/lib/snmp/test/snmp_agent_test_lib.erl
@@ -1118,6 +1118,9 @@ expect(Mod, Line, Type, Enterp, Generic, Specific, ExpVBs) ->
expect2(Mod, Line, F) ->
io_format_expect("for ~w:~w", [Mod, Line]),
case F() of
+ {error, {securityError, usmStatsNotInTimeWindows}} ->
+ io_format_expect("(USM) Stats not-in-windows => ", []),
+ skip({securityError, usmStatsNotInTimeWindows});
{error, Reason} ->
io_format_expect("failed at ~w:~w => "
"~n ~p", [Mod, Line, Reason]),