test-utils: add a restartPlugin API

This commit is contained in:
Ashok Sidipotu
2023-01-20 11:26:01 +05:30
committed by Julian Bouzas
parent c88a569835
commit c7c06351f7

View File

@@ -82,6 +82,10 @@ function u.createStreamNode (stream_type, props)
u.lnkbl_count = u.lnkbl_count + 1
end
function u.restartPlugin (name)
u.script_tester_plugin:call ("restart-plugin", name)
end
u.metadata = cu.default_metadata_om:lookup ()
assert (u.metadata ~= nil)