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

Open Beginner friendly
#264 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
70/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
testing

Research direction

Read pyproject.toml for the repo's pytest timeout = 3600 setting and compare it with wherever the in-image runner invokes pytest with --timeout=900. Then open tests/test_dace_frontend_validity.py and note PARSE_TIMEOUT_S = 1800, which exceeds the 900 s cap. Either raise the runner's flag for the dace_frontend selection or add a per-test @pytest.mark.timeout above 1800; done means the test no longer trips the runner's limit while CI stays under its 2700 s budget.

Written by the indexing model from the issue text.

Description

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

Dominant language
Python
Stars
9
Forks
9
Avg merge
3h 5m
Merged PRs (30d)
123

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from spcl/HPCAgent-Bench

All issues in spcl/HPCAgent-Bench

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.