Skip to main content

test_spec

Function test_spec 

Source
pub fn test_spec(
    job: &ConnectionJob,
    name: &str,
    timeout: Duration,
    attempt_id: String,
) -> Result<AttemptSpec, String>
Expand description

The one-off attempt a test of name runs (decision 198): a Python “task” of the connection’s file, its runner told to open and check the connection instead.

§Errors

Why it can’t run: a refused connection, or one with no file recorded.