aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/test/snmp_manager_test.erl
AgeCommit message (Collapse)Author
2019-07-29[snmp|manager|test] Make even deprecated test cases use tc_tryMicael Karlberg
Make even deprecated test cases use the tc_try function (so that all test cases look the same). Also make the skip reason for those test cases be slightly more readable.
2019-07-29[snmp|manager|test] Make use of the tc_try function(s)Micael Karlberg
Make use of the tc_try function(s) in all "active" test cases.
2019-07-23[snmp|manager|test] Fixed notify test caseMicael Karlberg
The (second) notify test case had a faulty "condition" test (which skipped the case in all cases except when it was supposed to be skipped :) Also, the test start and stop of the manager during the test case has been adjusted. We try to keep track of how long time each start and stop takes. And also, if they takes to long, we skip the case.
2019-07-23[snmp|manager|test] Notify started (test case) adjustmentsMicael Karlberg
We have seen one case when it takes unreasonably long time to start the manager, which causes the test case (notify_started01) to fail. We try to monitor the start, and if it takes to long a time, we instead skip.
2019-06-17[snmp|manager|test] Problems starting (slave) nodesMicael Karlberg
When we fail to start a (slave) node with reason timeout, its possible that it actually succeeded, which will cause the following test case(s) init to fail (with 'already started', since it which also try to start this node). But since we don't know if we get this because for this reason or because the previous test case failed to clean up after itself, we cannot assume that the state of the node is ok (and therefor use it). So, we attempt to stop it, and try start it again (*one* time). This has been observed on one (slooow) VM host.
2019-05-29[snmp|test] Improved IPv6 test checksMicael Karlberg
Improve the checks for if/when we shall run the IPv6 test cases. OTP-15764
2019-05-28[snmp|test] Maybe skipable (IPv6) groupsMicael Karlberg
Add an "os test" to the IPv6 group init. On "old" version of darwin (9.8.0) its simply to messy to figure out our IPv6 address, so its better to simply skip the IPv6 tests on those machines. OTP-15764
2019-04-15Merge branch 'bmk/snmp/manager/20190410/test_suite_tweaking'Micael Karlberg
2019-04-12[snmp|manager|test] Try to estimate appropriate timeouts for start/stopMicael Karlberg
For the notify_started02 test case we (now) try estimate how long we should wait for completion (based on the time of the first iteration). On slow machines, it takes longer to start and stop the manager, so adjust the total timeout accordingly.
2019-04-10[snmp|manager|test] Improve init_per_testcaseMicael Karlberg
Try to handle "failures" during init_per_testcase such that if they are either throw or exit, then they are transformed into a skip.
2019-03-28[snmp|manager|test] Add bind_to for agentsMicael Karlberg
On some linux platforms "they" add a 127.0.1.1 in the hosts file, wich can cause problems for some (manager) test cases. So, just to be on the safe side, make sure we bind to the configured address. Note that this has nothing to do with the current issue.
2017-10-27snmp: Add crypto precondition testIngela Anderton Andin
2017-06-14Update copyright yearHans Nilsson
2017-02-14Fixed typos in lib/snmpAndrew Dryga
2016-09-12snmp: Use ipv6 common test configuration checkIngela Anderton Andin
The test for ipv6 could return false positives which resulted in failing test cases due lack of full ipv6 support.It could be nice with a working run-time check but this will do for now.
2016-03-15update copyright-yearHenrik Nord
2016-02-17Eliminate use of test_server.hrl and test_server_line.hrlBjörn Gustavsson
As a first step to removing the test_server application as as its own separate application, change the inclusion of test_server.hrl to an inclusion of ct.hrl and remove the inclusion of test_server_line.hrl.
2015-06-18Change license text to APLv2Bruce Yinhe
2014-08-19Improve testcase test for IPv6 capable hostRaimo Niskanen
2014-07-25Mend regression testsRaimo Niskanen
2014-07-25Add testcases and do related fixesRaimo Niskanen
2014-07-25Use IPv6 config in managerRaimo Niskanen
2014-07-25snmp: Add IPV6 testsIngela Anderton Andin
2014-07-25wip: Rewrite manager net_if processRaimo Niskanen
2014-07-25wip-all-regression-tests-but-one-managerRaimo Niskanen
2014-03-21[snmp/manager] Add some more error handling when startingMicael Karlberg
Add some more error handling (a try catch block) when starting both manager and agent.
2014-03-18[snmp/manager] Verify success for app start and stop in test casesMicael Karlberg
When starting and stopping apps verify success. If failure to start or stop app force failure of test case or init/fin of test case. Also, be more verbose regarding stop results during test case finish.
2013-10-09[snmp/manager] Improve handling of unexpected/invalid snmpm_user callbacksMicael Karlberg
Improved handling of unexpected return values from snmpm_user callback functions. Violations of the documented API (crashes or invalid return values) will now result in an error message. Updated doc for snmpm_user bahaviour and some other stuff. Add more (common) type defs. Update manager example. Fixed manager test(s). Fixed unused vars in (manager) test suite. Make test user follow defined behaviour.
2012-12-20[snmp/manager] Updated manager test suite to use only the apiMicael Karlberg
Updated manager test suite to use only the api. The test cases that tested the old api (01), are now skipped. OTP-10027
2012-02-22[snmp] Tests for new manager net-if-mt moduleMicael Karlberg
Updated manager test suite with groups that tests the new net-if module, snmpm_net_if_mt. Also fixed the suite, group and test-case init functions for a number of sub-suites. OTP-9876
2012-02-22[snmp/manager] Added test cases for net_if-mtMicael Karlberg
Made the inform_request table public (to allow the worker processes to insert data). Also added test cases (this was done by adding "mt" groups). OTP-9876
2012-01-12[snmp/agent] Add common timestamp format function.Micael Karlberg
OTP-9851
2011-07-13Fixed (uncommented) test cases.Micael Karlberg
2011-07-12[manager] No way to specify transport domain. Transport domains wasMicael Karlberg
assumed to be IPv4. This has now been changed so that it can also be IPv6. To facilitate this, the transportDomain is now a (new) valid option. This also mean that the transport behaviour has changed. OTP-9305 [agent] A temporary fix for transport domain, specifically regarding trap sending. This is done in order to make testing possible, pending merge from topic branch. OTP-9400
2011-05-20Update copyright yearsBjörn-Egil Dahlberg
2011-04-15Async get-bulk test case for version 3 request API.Micael Karlberg
2011-04-15Sync get-bulk test case for version 3 of the request API.Micael Karlberg
2011-04-15Async set test case for version 3 request API.Micael Karlberg
2011-04-14Sync set test case for version 2 request API.Micael Karlberg
2011-04-14Async get-next test cases for version 3 request API.Micael Karlberg
2011-04-14Sync get-next test case for version 3 request API.Micael Karlberg
2011-04-14Async get test case for version 3 request API.Micael Karlberg
2011-04-14First test case for request API version 3.Micael Karlberg
2011-04-14Final version of the (new) API.Micael Karlberg
2011-02-17Update snmp tests to conform with common_test standardLukas Larsson
2011-02-17Update all fin_per_testcase to end_per_testcase.Lukas Larsson
2010-06-08OTP-8478: Added support for multiple SNMPv3 EngineIDs in a single agent.Micael Karlberg
2010-02-03OTP-8395: Sequence number in Audit Trail Logs.Micael Karlberg
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP