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

[Ingest Manager] Fix agent tests and short polling timeout #79442

Merged
merged 2 commits into from
Oct 5, 2020

Conversation

nchaulet
Copy link
Member

@nchaulet nchaulet commented Oct 5, 2020

Summary

Resolve #75241

I introduced a margin of 20s when we set the timeout for the agent checkin long polling call, this is not working if the timeout is configured with a value lower than 20s, and this is the case for the tests.

This PR fix it by removing the socket timeout, and not applying the margin if the long polling duration is lower than 20s.

@nchaulet nchaulet added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.10.0 Team:Fleet Team label for Observability Data Collection Fleet team Ingest Management:beta2 labels Oct 5, 2020
@nchaulet nchaulet requested review from jen-huang and a team October 5, 2020 12:14
@nchaulet nchaulet self-assigned this Oct 5, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ingest-management (Team:Ingest Management)

@jen-huang
Copy link
Contributor

@elasticmachine merge upstream

Copy link
Contributor

@jen-huang jen-huang left a comment

Choose a reason for hiding this comment

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

Ran the single test locally and it passes. Thanks for fixing!

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v7.10.0 v8.0.0
Projects
None yet
4 participants