Skip to content

fix(testutil): use polling for TCP readiness checks#493

Merged
txabman42 merged 1 commit into
open-telemetry:mainfrom
pushkarscripts:waitfortcp-polling
May 14, 2026
Merged

fix(testutil): use polling for TCP readiness checks#493
txabman42 merged 1 commit into
open-telemetry:mainfrom
pushkarscripts:waitfortcp-polling

Conversation

@pushkarscripts
Copy link
Copy Markdown
Contributor

Description

Replace the manual timeout loop in WaitForTCP with require.Eventuallyf for polling-based TCP readiness checks.

Motivation

This simplifies the readiness logic and keeps the polling behavior consistent with other test synchronization helpers.

Follow-up extracted from #488.


Checklist

  • PR title follows conventional commits format
  • Code formatted: make format
  • Linters pass: make lint
  • Tests pass: make test
  • Tests added for new functionality
  • Tests follow testing guidelines
  • Documentation updated (if applicable)

Signed-off-by: Pushkar Singh <pushkarkumarsingh1970@gmail.com>
@pushkarscripts pushkarscripts requested a review from a team as a code owner May 12, 2026 15:49
@github-actions github-actions Bot added the scope:fix A bug that is being fixed label May 12, 2026
Copy link
Copy Markdown
Contributor

@txabman42 txabman42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! TY ❤️

@txabman42 txabman42 merged commit e88e6f5 into open-telemetry:main May 14, 2026
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope:fix A bug that is being fixed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants