torch-mlir/projects/pt1/e2e_testing
Xida Ren (Cedar) 4358aaccd6
Add per-test timeouts to catch infinite loops (#3650)
Previously we only had full suite timeouts, making it impossible to
identify
which specific tests were hanging. This patch adds:

1. Per-test timeout support in the test framework
2. A default 600s timeout for all tests
3. A deliberately slow test to verify the timeout mechanism works

The timeout is implemented using Python's signal module. Tests that
exceed
their timeout are marked as failures with an appropriate error message.

This should help catch and isolate problematic tests that enter infinite
loops, without needing to re-run the entire suite multiple times.
2024-08-21 11:37:31 -07:00
..
main.py e2e: Enable generate-runtime-verification pass (#3615) 2024-08-12 14:15:12 +02:00
xfail_sets.py Add per-test timeouts to catch infinite loops (#3650) 2024-08-21 11:37:31 -07:00