Commit 513d8120 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 59aa6791
......@@ -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'
])
# sanity check
if 'Checking promise %s' % plugin not in 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