diff options
author | Erlang/OTP <[email protected]> | 2019-04-16 16:37:35 +0200 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2019-04-16 16:37:35 +0200 |
commit | a2cc71859fdb332c9d2edd0d1408a4c1d8bc5646 (patch) | |
tree | 74578593b7ff4e88b29219b0095b47f40cf7b434 /lib/snmp/test/snmp_manager_test.erl | |
parent | c160968d28931bac6895004a780111f2d6306527 (diff) | |
parent | b9a0da00aa0259e35b505d674d2a656020fdbdfe (diff) | |
download | otp-a2cc71859fdb332c9d2edd0d1408a4c1d8bc5646.tar.gz otp-a2cc71859fdb332c9d2edd0d1408a4c1d8bc5646.tar.bz2 otp-a2cc71859fdb332c9d2edd0d1408a4c1d8bc5646.zip |
Merge branch 'bmk/snmp/20190328/get_mechanism/OTP-15691' into maint-20
* bmk/snmp/20190328/get_mechanism/OTP-15691:
[snmp|manager|test] Add bind_to for agents
[snmp|agent] Verbose (debug) improvements
[snmp|agent] Add the net-if data (Extra) argument to get-callbacks
[snmp|agent] Add the default get-mechanism module snmpa_get
[snmp|agent] Add the get-mechanism behaviour
[snmp|agent] Add/update/export useful types
[snmp|agent] Build order
[snmp|agent] Handle new get-mechanism config
Diffstat (limited to 'lib/snmp/test/snmp_manager_test.erl')
-rw-r--r-- | lib/snmp/test/snmp_manager_test.erl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/snmp/test/snmp_manager_test.erl b/lib/snmp/test/snmp_manager_test.erl index 6ced55f0cc..bb9b05b89f 100644 --- a/lib/snmp/test/snmp_manager_test.erl +++ b/lib/snmp/test/snmp_manager_test.erl @@ -6179,7 +6179,12 @@ start_agent(Node, Vsns, Conf0, _Opts) -> {mib_server, [{verbosity, MSV}]}, {note_store, [{verbosity, NSV}]}, {stymbolic_store, [{verbosity, SSV}]}, - {net_if, [{verbosity, NIV}]}, + {net_if, [{verbosity, NIV}, + %% On some linux "they" add a 127.0.1.1 or somthing + %% similar, so if we don't specify bind_to + %% we don't know which address will be selected + %% (which will cause problems for some test cases). + {options, [{bind_to, true}]}]}, {multi_threaded, true}], ?line ok = set_agent_env(Node, Env), |