Skip to content
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

Ignore DNSErrors caused by context cancelation in tests #3228

Merged

Conversation

michel-laterman
Copy link
Contributor

What is the problem this PR solves?

Fix flaky instrumentation test

How does this PR solve the problem?

Ignore DNSErrors caused by context cancelation.
DNSError does not (currently) support the Unwrap method so a manual workaround is needed.

Related issues

@michel-laterman michel-laterman added Team:Fleet Label for the Fleet team flaky-test Unstable or unreliable test cases. labels Jan 18, 2024
@michel-laterman michel-laterman requested a review from a team as a code owner January 18, 2024 16:05
Copy link
Member

@kpollich kpollich left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

Copy link

Quality Gate passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No Coverage information No data about Coverage
0.0% 0.0% Duplication on New Code

See analysis details on SonarQube

@michel-laterman michel-laterman merged commit fbcce43 into elastic:main Jan 18, 2024
8 checks passed
@michel-laterman michel-laterman deleted the fix-flaky-integration-test branch January 18, 2024 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky-test Unstable or unreliable test cases. Team:Fleet Label for the Fleet team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TestServerInstrumentation flaky
2 participants