View Source Runbox.RunNode (runbox v21.2.0)
Module contains common functions called on run slave node.
Summary
Functions
@spec start_run_component( Runbox.Scenario.component_def(), Runbox.RunContext.t(), Runbox.RunStartContext.t() ) :: Supervisor.on_start_child()
Starts run component under run scenario.
@spec start_run_sup(String.t()) :: Supervisor.on_start_child()
Starts supervisor for run.
All components of run running on slave node will run under this supervisor. OneForAll strategy with 0 max restart stops supervisor if any component crashes. Because run manager process running on master is linked with this supervisor, it also crashes (and it what we want).