In-image test runner: dace_frontend corpus test needs the repo's timeout, not 900 s

Aperta Adatta ai principianti
#264 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
70/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python
Ambito
testing

Direzione di ricerca

Leggi pyproject.toml per l'impostazione pytest timeout = 3600 del repository e confrontala con il punto in cui il runner nell'immagine invoca pytest con --timeout=900. Poi apri tests/test_dace_frontend_validity.py e nota PARSE_TIMEOUT_S = 1800, che supera il limite di 900 s. Alza il flag del runner per la selezione dace_frontend oppure aggiungi un @pytest.mark.timeout per test superiore a 1800; fatto significa che il test non supera più il limite del runner mentre CI resta sotto il suo budget di 2700 s.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

tests/test_dace_frontend_validity.py::test_every_generated_dace_program_parses_or_is_a_known_refusal timed out at 900 s in the AMD image test round at c390c0100. That run passed --timeout=900. The repo default (pyproject.toml, timeout = 3600) and CI (2700 s) are longer, and the test passes under both.

The test is not broken. Its per-parse budget is PARSE_TIMEOUT_S = 1800, so a 900 s limit for the whole test is shorter than one parse may legitimately take.

To do: make the in-image test runner use the repo's timeout (or at least 2700 s) for the dace_frontend tests, or give the test its own @pytest.mark.timeout, so the runner's flag cannot cut it short.

🤖 Generated with Claude Code

Lingua principale
Python
Stelle
9
Fork
9
Merge medio
3h 5m
PR unite (30g)
123

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di spcl/HPCAgent-Bench

Tutte le issue di spcl/HPCAgent-Bench

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.