Commit 13f18ac9 authored by Vladimír Čunát's avatar Vladimír Čunát Committed by Petr Špaček

adapt to change of semantics in net.list() output

knot-resolver!786
parent 2753e17d
Pipeline #46384 failed with stage
in 2 minutes and 5 seconds
...@@ -105,7 +105,7 @@ assert(cache.backends() ~= nil) ...@@ -105,7 +105,7 @@ assert(cache.backends() ~= nil)
assert(worker.stats() ~= nil) assert(worker.stats() ~= nil)
assert(net.interfaces() ~= nil) assert(net.interfaces() ~= nil)
-- Self-checks on loaded stuff -- Self-checks on loaded stuff
assert(net.list()['{{SELF_ADDR}}']) assert(net.list()[1].ip == '{{SELF_ADDR}}')
assert(#modules.list() > 0) assert(#modules.list() > 0)
-- Self-check timers -- Self-check timers
ev = event.recurrent(1 * sec, function (ev) return 1 end) ev = event.recurrent(1 * sec, function (ev) return 1 end)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment