Commit d4bff792 by Łukasz Nowak Committed by Ł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.
1 parent 296ad8e6
......@@ -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)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!