Skip to content

chore(tests): poll filegen generator tests instead of sleeping (PIPE-986) - #258

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

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

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 filegen tests with require.Eventually. The generator tests poll the mock consumer's collected records. The write-error test adds error tracking to the mock consumer, recorded under its existing mutex, so it has a race-safe observable. The cache-TTL test polls for entry expiry instead of a fixed 15ms sleep. 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 65b97d3 Jul 31, 2026
19 checks passed
@Dylan-M
Dylan-M deleted the dylanmyers/pipe-986-blitz-filegen branch July 31, 2026 15:12
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