-
Notifications
You must be signed in to change notification settings - Fork 22
Add E2E for supervisor in Otel-integration #778
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Israel Blancas <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: aac1b1153c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Signed-off-by: Israel Blancas <[email protected]>
Signed-off-by: Israel Blancas <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6a718d05c7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| host := testhelpers.HostEndpoint(t) | ||
| firstPort := testhelpers.GetFreePort(t) | ||
| secondPort := testhelpers.GetFreePort(t) | ||
| testServer := opampserver.StartTestServer(t, fmt.Sprintf("0.0.0.0:%d", firstPort)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid selecting both ports before binding servers
Both ports are chosen via GetFreePort before either server is started. Because GetFreePort closes the listener immediately, the OS can hand back the same port twice, making the second StartTestServer intermittently fail with “address already in use.” This will be flaky on shared CI runners; consider starting the first server before selecting the second port or returning an already‑bound listener.
Useful? React with 👍 / 👎.
Signed-off-by: Israel Blancas <[email protected]>
CX-22185