Commit 424948d3 authored by Łukasz Nowak's avatar Łukasz Nowak

caddy-frontend/test: Force promise run during test

--force with --check-anomaly makes monitor.runpromise execute the promise
unconditionally, even for testless ones.
parent 234c3c89
......@@ -378,7 +378,9 @@ class TestDataMixin(object):
plugin_status, plugin_result = subprocess_status_output([
runpromise_bin,
'-c', monitor_conf,
'--run-only', plugin
'--run-only', plugin,
'--force',
'--check-anomaly'
])
if plugin_status == 1:
msg.append(plugin_result)
......
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