summaryrefslogtreecommitdiff
path: root/lib/snmp/test/snmp_test_mgr.erl
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright yearErlang/OTP2023-02-141-1/+1
|
* snmp: replace size/1 by XXX_size/1Kiko Fernandez-Reyes2023-01-171-7/+5
|
* [snmp|agent|test] Request response timeoutMicael Karlberg2022-04-201-2/+3
| | | | | | | Make the (request) response timeout adapt to the host using the snmp_factor. Also if a timeout occurs; display the content of the message queue.
* [snmp|agent|test] Add a "sanity check" for framework test caseMicael Karlberg2022-01-281-1/+1
| | | | | | | | | | | On some of our slow (and/or "unstable) machines, time checks may produce results that are untrustworthy. So, as a sort of sanity check, we check how long time it took to get the snmpEngineTime. This should normally only take a couple of milli sec (at most 100ms). So, if it takes more tha a second then we can no longer trust the results. Therefor SKIP instead. Also update copyright end date.
* [snmp|test] More not-in-time-window detection adjustmentsMicael Karlberg2022-01-281-4/+5
|
* [snmp|agent|test] Attempt to detect 'usmStatsNotInTimeWindows'Micael Karlberg2022-01-281-2/+6
|
* [snmp|agent] Use of inet-backend for gen_udpMicael Karlberg2021-08-301-1/+1
| | | | | | | | Make it possible to configure agent transport (net-if) to use the inet_backend gen_udp option. OTP-17526 OTP-17410
* [snmp|test] Fix copyright end dateMicael Karlberg2021-01-291-1/+1
|
* [snmp|agent|test] More test cases needing to handle system eventsMicael Karlberg2021-01-261-0/+1
| | | | | | | | A system that "stood still" for more than 20 minutes, caused a test case to time out and then be terminated (when the test server finally started "running" again). By checking for system events (in this c ase also) we *may* have time to skip the case before its killed...
* [snmp|agent|test] Error printouts improvementMicael Karlberg2020-11-131-3/+3
|
* [snmp|test] Add utility function (and macro) for message queueMicael Karlberg2020-11-131-17/+12
| | | | | Add a utility function(s) (and macro) for 'peeking' at the message queue of a process.
* [snmp|agent|test] (agent) test manager improvementsMicael Karlberg2020-11-131-15/+56
| | | | | | | When an request, or any message, does not arrive in time, an error message is written. Now it also includes the current message queue (the expeected message did not arrive, but what did).
* [snmp|agent|test] Improve error printouts in the test managerMicael Karlberg2020-11-131-5/+5
|
* [snmp|agent|test] Add transport kind test case(s)Micael Karlberg2020-11-051-0/+3
| | | | | | | | | | | Add transport kind test case(s). *Reqests* sent from the manager to the agent (which sends a reply) and *traps* sent from the agent to the manager. Both handled on the respective transports. Also adjusted the info test case (net-if info has been change). OTP-16649
* [snmp|agent|test] Test tweakingMicael Karlberg2020-03-121-1/+2
| | | | | | | | | It "looks like" an exit signal (intended to pass a result) from a test runner, passed the starter process and went directly to the test server, which promptly failed the test case. There was no sign that the starter process, which supervises the test runner, died, but that is the only reason I can think of...
* [snmp|agent|test] Tweaked test suite to work on NetBSDMicael Karlberg2020-03-041-2/+10
| | | | | | | | | | | | | We skip all IPv6 test case(s) oín the agent suite on NetBSD. UDP on IPv6 is glitchy on the only NetBSD machine. It could be because of configuration, but since the socket suite works...anyway, its not a snmp problem, so skip until the root cause is solved. Improved handlng of udp error(s) in the test manager (used in the agent suite). If sunch an error occurs, we exit. But since its not an snmp error we don not fail the test case. Instead we skip.
* [snmp|test] Agent suite print cleanupMicael Karlberg2020-02-241-164/+159
|
* [snmp|agent|test] Add and improve printoutsMicael Karlberg2019-09-051-106/+214
| | | | | Add some and improve existing printouts in the agent set/get (expect) wrapper functions.
* [snmp|test] Add more printouts to understand IPv6 issuesMicael Karlberg2019-05-281-3/+14
| | | | OTP-15764
* [snmp] Replaced usage of random with randMicael Karlberg2019-05-221-6/+8
| | | | | | | Use of the deprecated module random has been replaced by the module rand. OTP-15331
* [snmp|agent|test] More test tweakingMicael Karlberg2019-04-111-34/+40
| | | | | | | | Improved test printouts (more with timestamps), also fixed the printouts of the (fake) local-db start result printout. Also updated the copyright end-dates.
* Change license text to APLv2Bruce Yinhe2015-06-181-9/+10
|
* snmp: Change to random use crypto. Remove use of erlang:nowErland Schönbeck2015-04-241-4/+4
|
* Try to increase test case timeoutsRaimo Niskanen2014-09-301-1/+1
|
* Fix test manager in agent tests for IPv6Raimo Niskanen2014-07-301-16/+20
|
* [snmp/agent] Fixed request id generationMicael Karlberg2014-03-141-1/+2
| | | | | | | | | | | | | | When testing the agent, it is started and then used for a series (v1, v2, v3, ...) of tests. But the individual test cases are use one instance of the test manager. Because of this, the requerst id cannot be a counter starting from 1 or any counter for that matter. Instead every request id was generated using random. But this is obiously not a guarantee fo uniqueness, it merely makes it unlikely that the request ids will be reused. To get around this problem (without having to rewrite the entire agent test suite) a simple (global) counter server is introduced. It is started at the start of the agent test suite (init_per_suite) and stopped at the end (end_per_suite).
* snmp: Remove VxWorksBjörn-Egil Dahlberg2012-07-191-1/+0
|
* [snmp/agent] Add common timestamp format function.Micael Karlberg2012-01-121-10/+5
| | | | OTP-9851
* OTP-8395: Sequence number in Audit Trail Logs.Micael Karlberg2010-02-031-5/+5
|
* The R13B03 release.OTP_R13B03Erlang/OTP2009-11-201-0/+1139