SWAT-engineering / SWAT-engineering/java-watch
Awaits instead of sleeps in tests
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1
- Forks
- 0
- Avg merge
- 14h 40m
- Merged PRs (30d)
- 1
Description
Some of the tests rely on sleeps to give the kernel enough time to issue events. As a result, running all the tests takes quite a long time. The sleeps should be replaced with more accurate awaits to make the tests run faster.
First reported here.
Contributor guide
No contributing guide indexed for this repository
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 locating the tests that use sleeps to wait for kernel-issued events, then inspect the related event-handling flow and the discussion linked from pull request 42. Replace the timing-based waits with accurate awaits and verify that the full test suite completes faster without missing events.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing-qa
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100