Skip to content

Fix flaky terminal test for position / cell conversion#52351

Merged
maxbrunsfeld merged 2 commits intomainfrom
terminal-position-flaky-test
Mar 24, 2026
Merged

Fix flaky terminal test for position / cell conversion#52351
maxbrunsfeld merged 2 commits intomainfrom
terminal-position-flaky-test

Conversation

@maxbrunsfeld
Copy link
Copy Markdown
Collaborator

@maxbrunsfeld maxbrunsfeld commented Mar 24, 2026

This PR fixes test flakiness introduced in #52111

The flakiness was because the test was using its own RNG, rather than using gpui's built-in support for consistently-seeded RNGs in tests. The fix was just to adjust the test to use the same logic for computing row and column count as was introduced in the above PR.

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Mar 24, 2026
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Mar 24, 2026
@zed-codeowner-coordinator zed-codeowner-coordinator bot requested review from a team, cole-miller and kubkon and removed request for a team March 24, 2026 21:14
@maxbrunsfeld maxbrunsfeld merged commit 4c3179f into main Mar 24, 2026
43 checks passed
@maxbrunsfeld maxbrunsfeld deleted the terminal-position-flaky-test branch March 24, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants