SWAT-engineering / SWAT-engineering/java-watch

Awaits instead of sleeps in tests

Open
#43 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue
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

  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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.