aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/test/snmp_agent_test.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/snmp/test/snmp_agent_test.erl')
-rw-r--r--lib/snmp/test/snmp_agent_test.erl13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/snmp/test/snmp_agent_test.erl b/lib/snmp/test/snmp_agent_test.erl
index 84fa1af71d..a6571548d6 100644
--- a/lib/snmp/test/snmp_agent_test.erl
+++ b/lib/snmp/test/snmp_agent_test.erl
@@ -555,6 +555,8 @@ init_per_suite(Config0) when is_list(Config0) ->
Config3 = [{mib_dir, MibDir}, {std_mib_dir, StdMibDir} | Config2],
+ snmp_test_mgr_counter_server:start(),
+
?DBG("init_per_suite -> end with"
"~n Config3: ~p", [Config3]),
@@ -565,6 +567,17 @@ end_per_suite(Config) when is_list(Config) ->
?DBG("end_per_suite -> entry with"
"~n Config: ~p", [Config]),
+ case snmp_test_mgr_counter_server:stop() of
+ {ok, Counters} ->
+ ?DBG("end_per_suite -> sucessfully stopped counter server"
+ "~n Counters: ~p", [Counters]);
+
+ {error, Reason} ->
+ ?DBG("end_per_suite -> failed stopping counter server"
+ "~n Reason: ~p", [Reason])
+ end,
+
+ ?DBG("end_per_suite -> end", []),
Config.