Skip to content

Give the REPL's partial-line test room on slow machines - #37

Merged
bbatsov merged 1 commit into
mainfrom
output-test-timing
Oct 23, 2026
Merged

bbatsov merged 1 commit into
mainfrom
output-test-timing

Conversation

@bbatsov

@bbatsov bbatsov commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

output-test failed once on macOS because the 100ms between a step's start and its "done" got stretched past the quarter of a second the REPL waits. 20ms still splits each line across two messages.

The REPL holds the start of a line for a quarter of a second, and the test
printed the rest of each line 100ms later. A busy macOS runner stretched
that past the quarter of a second, so a step came out in two pieces. 20ms
leaves the test the same while keeping well inside the wait.
@bbatsov
bbatsov merged commit 2d1c036 into main Oct 23, 2026
18 checks passed
@bbatsov
bbatsov deleted the output-test-timing branch October 24, 2026 08:59
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