Skip to content

Tunnel test: wait for the peer's first segments instead of a fixed 20 ms - #186

Merged
SirReaDy merged 1 commit into
mainfrom
fix-tunnel-window-test
Nov 29, 2026
Merged

SirReaDy merged 1 commit into
mainfrom
fix-tunnel-window-test

Conversation

@SirReaDy

Copy link
Copy Markdown
Collaborator

The window scaling test read how many bytes the fake peer had accepted after a fixed 20 ms. On a slow Windows runner nothing had arrived yet, so CI failed on main with actual value must be number or bigint, received undefined. It now waits (up to 5 s) for the first segments, then pauses 20 ms as before.

The window scaling test read how many bytes the fake peer had accepted
after a fixed 20 ms, which was still nothing on a slow Windows runner
(TypeError: actual value must be number or bigint, received undefined).
@SirReaDy
SirReaDy merged commit 46cdc4d into main Nov 29, 2026
8 checks passed
@SirReaDy
SirReaDy deleted the fix-tunnel-window-test branch November 29, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant