summaryrefslogtreecommitdiff
path: root/lib/snmp/test/snmp_agent_test_lib.erl
diff options
context:
space:
mode:
authorMicael Karlberg <bmk@erlang.org>2020-01-30 12:29:42 +0100
committerMicael Karlberg <bmk@erlang.org>2020-01-31 12:08:38 +0100
commitef588bf4c81680940710c9a38cf3703ccb47bc0f (patch)
treeb3e24b478cbe936fcbfd760412a6a79653027251 /lib/snmp/test/snmp_agent_test_lib.erl
parent3b74ca54becac35fe7bc23bb6a102f0ea2da3394 (diff)
downloaderlang-ef588bf4c81680940710c9a38cf3703ccb47bc0f.tar.gz
[snmp|agent|test] Wrapped the create_local_db_dir in tc_try
The test case "may have" caused some issues on a test run. The test case itself completed ok, but the end_per_group hanged. The temporary node that is created (and delete) by the test case, may not have been stopped correctly. There where some messages from global in the logs afterwards (failing to contact the node).
Diffstat (limited to 'lib/snmp/test/snmp_agent_test_lib.erl')
-rw-r--r--lib/snmp/test/snmp_agent_test_lib.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/snmp/test/snmp_agent_test_lib.erl b/lib/snmp/test/snmp_agent_test_lib.erl
index 5dc544d1a7..316dd410da 100644
--- a/lib/snmp/test/snmp_agent_test_lib.erl
+++ b/lib/snmp/test/snmp_agent_test_lib.erl
@@ -1559,7 +1559,7 @@ start_node(Name) ->
stop_node(Node) ->
?LOG("stop_node -> Node: ~p", [Node]),
- rpc:cast(Node, erlang, halt, []).
+ test_server:stop_node(Node).
%%%-----------------------------------------------------------------