Commit d4bff792 authored by Łukasz Nowak's avatar Ł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.
parent 296ad8e6
...@@ -378,7 +378,9 @@ class TestDataMixin(object): ...@@ -378,7 +378,9 @@ class TestDataMixin(object):
plugin_status, plugin_result = subprocess_status_output([ plugin_status, plugin_result = subprocess_status_output([
runpromise_bin, runpromise_bin,
'-c', monitor_conf, '-c', monitor_conf,
'--run-only', plugin '--run-only', plugin,
'--force',
'--check-anomaly'
]) ])
if plugin_status == 1: if plugin_status == 1:
msg.append(plugin_result) 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