Marvin.Runner (Marvin Load Test v0.1.0) View Source

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

When a supervisor shuts down, it terminates all children in the opposite order they are listed. The termination happens by sending a shutdown exit signal, via Process.exit(child_pid, :shutdown) and then awaiting for a time interval (defaults to 5000ms). The supervisor will abruptly terminates the child with reason :kill if the child process does not terminate in this interval.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Specs

run_workers() :: :ok
Link to this function

setup_workers(scenarios)

View Source

Specs

setup_workers([Marvin.Config.scenario()]) :: [:ok]

Specs

start_link(any()) :: :ignore | {:error, any()} | {:ok, pid()}

Specs

stop() :: nil

When a supervisor shuts down, it terminates all children in the opposite order they are listed. The termination happens by sending a shutdown exit signal, via Process.exit(child_pid, :shutdown) and then awaiting for a time interval (defaults to 5000ms). The supervisor will abruptly terminates the child with reason :kill if the child process does not terminate in this interval.