mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-07 00:55:21 +00:00
More verbose logging for SNMP test
This commit is contained in:
parent
4e4b02acf6
commit
0632d4316f
@ -78,7 +78,13 @@ verify_eq(Stats, Keys, Node) ->
|
||||
fun(N) ->
|
||||
SStats = rpc:call(N, snmpa, get, [snmp_master_agent, OIDs]),
|
||||
SPairs = lists:zip(SStats, HKeys),
|
||||
lists:all(fun({A,B}) -> A == proplists:get_value(B, Stats) end, SPairs)
|
||||
lists:all(
|
||||
fun({A,B}) ->
|
||||
Stat = proplists:get_value(B, Stats),
|
||||
lager:info("Comparing ~p | Stats ~p ~~ SNMP ~p", [B, Stat, A]),
|
||||
A == Stat
|
||||
end,
|
||||
SPairs)
|
||||
end)).
|
||||
|
||||
get_stats(Node) ->
|
||||
|
Loading…
Reference in New Issue
Block a user