Skip to content

CICD-345 · Timeout propagation testing ​

Encyclopedia · Distributed systems and reliability testing · All snippets

Previous · CICD-344 · Next · CICD-346

1. Where it fits ​

  • Placement CI run step.
  • Prerequisites disposable integration environment, synthetic traffic and controlled test faults.
  • Platforms local-linux, github-actions, gitea-actions.

2. Copy the snippet ​

bash
timeout 10s pytest -q tests/reliability/test_deadline_budget.py

3. How it works ​

Pytest discovers the selected test files or markers and returns a process exit status reflecting the test outcome.

4. Verify the result ​

Inject latency and assert downstream deadlines shrink across hops. A test timeout is only a safety guard.

Validation syntax-validated (Bash parse). Status definitions.