wavefnd / wavefnd/Wave

Remove the unconditional delay between Wave end-to-end tests

Open
#356 0 comments 0 reactions 0 assignees View on GitHub
good first issue needs testing performance
Dominant language
Rust
Stars
53
Forks
16
Avg merge
4h 22m
Merged PRs (30d)
46

Description

## Problem

`tools/run_tests.py` sleeps for 0.3 seconds after every test case. With more than 100 cases this adds over 30 seconds to every local and CI E2E run even when tests do not use sockets or shared resources.

This replaces the unbounded performance request in #118 with a measurable task.

## Scope

- Remove the unconditional per-test delay.
- If a platform-specific resource needs settling time, apply a targeted wait only to that resource and document why.
- Confirm that TCP/UDP tests continue to clean up their processes and sockets.
- Compare the E2E runner wall time before and after the change.

## Completion criteria

- [ ] Ordinary tests have no artificial inter-test sleep.
- [ ] Network tests remain stable on supported CI hosts.
- [ ] The complete test suite reports the same pass/skip/fail results.
- [ ] The PR reports before/after timing from the same host.

Contributor guide

Open the contributing guide

Research direction

Start in tools/run_tests.py and measure the E2E runner wall time on the same host before changing the inter-test delay. Check the TCP/UDP tests for process and socket cleanup, then run the complete suite to confirm unchanged pass, skip, and fail results. Done means ordinary tests have no artificial sleep, network tests remain stable, and the PR reports before/after timing.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
performance, testing
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.