Skip to main content

run_upstream_test

Function run_upstream_test 

Source
pub fn run_upstream_test(
    rt: &RuntimeConfig,
    target: Option<&str>,
    timeout: Duration,
    json_output: bool,
) -> i32
Expand description

Run upstream tests against a compiled config and return the exit code.

This is the shared implementation used by both eggress upstream test and pproxy --test. It accepts typed inputs, not CLI argv.