TST: test_app_buttons often freezes/hangs
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4
- Forks
- 9
- Avg merge
- 7d 14h
- Merged PRs (30d)
- 1
Description
Expected Behavior
Tests should pass or fail in a timely and consistent manner
Current Behavior
This particular test seems to hang sometimes and run properly other times
Possible Solution
These are usually really hard to track down
Context
This happens often when running the full environment unit tests in pcds-envs which kills the suite after 10 minutes.
I tried applying pytest-timeout to this test today but it seems unable to interrupt it. I wanted to apply a 20 second timeout so that the pcds-envs full environment unit test could rerun the test quickly if it was hanging as a band-aid measure but it's not working properly.
Your Environment
pcds-5.5.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the test_app_buttons test in the full pcds-envs environment and compare runs that complete with runs that hang. Investigate why pytest-timeout cannot interrupt the test, then verify that the test completes or fails consistently without causing the full unit-test suite to exceed its limit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100