File 2893-snmp-test-Try-ensure-config-not-already-running.patch of Package erlang
From 5a6f77773c4d04564f29d323326951c8663b45e0 Mon Sep 17 00:00:00 2001
From: Micael Karlberg <bmk@erlang.org>
Date: Wed, 10 Jul 2024 17:44:51 +0200
Subject: [PATCH 3/6] [snmp|test] Try ensure (config) not already running
---
lib/snmp/test/snmp_manager_config_SUITE.erl | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/snmp/test/snmp_manager_config_SUITE.erl b/lib/snmp/test/snmp_manager_config_SUITE.erl
index 933be4e016..074941ab12 100644
--- a/lib/snmp/test/snmp_manager_config_SUITE.erl
+++ b/lib/snmp/test/snmp_manager_config_SUITE.erl
@@ -238,6 +238,10 @@ init_per_suite(Config0) when is_list(Config0) ->
%% We need one on this node also
snmp_test_sys_monitor:start(),
+ ?IPRINT("init_per_suite -> try ensure snmpm_config not running"),
+
+ config_ensure_not_running(),
+
?IPRINT("init_per_suite -> end when"
"~n Config: ~p", [Config2]),
--
2.43.0