aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/test/snmp_test_mgr.erl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2014-03-26 10:37:00 +0100
committerMicael Karlberg <[email protected]>2014-03-26 10:37:00 +0100
commitc1c6ed0daae370877b0e56cf31cf0a4517b19d5a (patch)
treeab28b3dddfd2bafb082b3ef2dd9a7b23283b6d4d /lib/snmp/test/snmp_test_mgr.erl
parentf253f7f3a17ca2bfcfb66f0c2ba1f832cb37ea80 (diff)
parent29b3afb4fa0bc2050ab7e3d2e5e0315c30eb060c (diff)
downloadotp-c1c6ed0daae370877b0e56cf31cf0a4517b19d5a.tar.gz
otp-c1c6ed0daae370877b0e56cf31cf0a4517b19d5a.tar.bz2
otp-c1c6ed0daae370877b0e56cf31cf0a4517b19d5a.zip
Merge branch 'bmk/snmp/agent/fix-tests'
Diffstat (limited to 'lib/snmp/test/snmp_test_mgr.erl')
-rw-r--r--lib/snmp/test/snmp_test_mgr.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/snmp/test/snmp_test_mgr.erl b/lib/snmp/test/snmp_test_mgr.erl
index 40fcbce8f1..d4eb00ff91 100644
--- a/lib/snmp/test/snmp_test_mgr.erl
+++ b/lib/snmp/test/snmp_test_mgr.erl
@@ -657,7 +657,8 @@ make_vb(Oid) ->
#varbind{oid = Oid, variabletype = 'NULL', value = 'NULL'}.
make_request_id() ->
- random:uniform(16#FFFFFFF-1).
+ %% random:uniform(16#FFFFFFF-1).
+ snmp_test_mgr_counter_server:increment(mgr_request_id, 1, 1, 2147483647).
echo_pdu(PDU, MiniMIB) ->
io:format("~s", [snmp_misc:format_pdu(PDU, MiniMIB)]).