Skip to content

chore(tests): poll json generator tests instead of sleeping (PIPE-986) - #253

Merged
Dylan-M merged 1 commit into
mainfrom
dylanmyers/pipe-986-blitz-json
Jul 31, 2026
Merged

chore(tests): poll json generator tests instead of sleeping (PIPE-986)#253
Dylan-M merged 1 commit into
mainfrom
dylanmyers/pipe-986-blitz-json

Conversation

@Dylan-M

@Dylan-M Dylan-M commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Proposed Change

Replaces the fixed time.Sleep waits in the json generator tests with require.Eventually. Each test polls the mock writer's write and error counts. It returns as soon as the expected output appears, not after a fixed duration. Behavior-neutral.

Checklist
  • Changes are tested
  • CI has passed

@Dylan-M
Dylan-M requested review from a team as code owners July 30, 2026 15:59
@Dylan-M
Dylan-M requested a review from eKuG July 30, 2026 15:59

Dylan-M commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Dylan-M
Dylan-M added this pull request to the merge queue Jul 31, 2026
Merged via the queue into main with commit 3468145 Jul 31, 2026
19 checks passed
@Dylan-M
Dylan-M deleted the dylanmyers/pipe-986-blitz-json branch July 31, 2026 15:10
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.

2 participants