Skip to content

chore(tests): poll received events in hec output tests instead of sleeping (PIPE-986) - #266

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

chore(tests): poll received events in hec output tests instead of sleeping (PIPE-986)#266
Dylan-M merged 1 commit into
mainfrom
dylanmyers/pipe-986-blitz-hec

Conversation

@Dylan-M

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

Copy link
Copy Markdown
Contributor

Proposed Change

Replaces the fixed sleeps in the HEC output and ack tests with require.Eventually. The tests poll received events and the ack tracker's size. Capture vars written by the server goroutine were changed to atomic.Value so polling them is race-safe. Behavior-neutral.

Checklist
  • Changes are tested
  • CI has passed

…eping (PIPE-986)

Assisted-by: Claude Opus 4.8
@Dylan-M
Dylan-M requested review from a team as code owners July 30, 2026 16:00
@Dylan-M
Dylan-M requested a review from eKuG July 30, 2026 16:00

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 6a4beb5 Jul 31, 2026
19 checks passed
@Dylan-M
Dylan-M deleted the dylanmyers/pipe-986-blitz-hec branch July 31, 2026 15:15
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