Skip to main content

classify_failure

Function classify_failure 

Source
pub fn classify_failure(output: &str) -> FlakeClassification
Expand description

Classify a test failure based on its output text.

Scans the output for known transient failure patterns and returns the first match, or Deterministic if no patterns match.

For security, input is bounded to prevent DoS through excessive memory allocation or processing time on malicious test outputs.