acceptance/lib/pxp-agent/bolt_pxp_module_helper.rb
def run_failed_task(broker, targets, task, files, input: {}, metadata: nil, **kwargs, &block)
  run_task(broker, targets, task, files, input: input, metadata: metadata) do |response_dataset|
    ensure_failed(broker, targets, response_dataset, **kwargs, &block)
  end
end
# Runs a non-blocking task action on targets, and confirms that it failed but did not error.
# Block is executed on the stderr string.
Runs a non-blocking task action on targets, and confirms that it failed but did not error.
Block is executed on the stderr string.
Runs a non - blocking task action on targets and confirms that it failed but did not error . Block is executed on the stderr string .
def run_failed_task(broker, targets, task, files, input: {}, metadata: nil, **kwargs, &block)
  run_task(broker, targets, task, files, input: input, metadata: metadata) do |response_dataset|
    ensure_failed(broker, targets, response_dataset, **kwargs, &block)
  end
end
def run_failed_task ( broker , targets , task , files , input : { } , metadata : nil , ** kwargs , & block ) run_task ( broker , targets , task , files , input : input , metadata : metadata ) do | response_dataset | ensure_failed ( broker , targets , response_dataset , ** kwargs , & block ) end end
Runs a non-blocking task action on targets, and confirms that it failed but did not error.
Runs a non - blocking task action on targets and confirms that it failed but did not error .
broker
targets
task
files
input
metadata
kwargs
block