-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Update to elastic-agent-client with chunking support. #37343
Conversation
💚 CLA has been signed |
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
This pull request is now in conflicts. Could you fix it? 🙏
|
64a2051
to
a276c93
Compare
💔 Build Failed
Expand to view the summary
Build stats
Pipeline error
❕ Flaky test reportNo test was executed to be analysed. 🤖 GitHub commentsExpand to view the GitHub comments
To re-run your PR in the CI, just comment with:
|
go.mod replace will be removed once elastic/elastic-agent-client#89 is merged |
💔 Build Failed
Expand to view the summary
Build stats
Test stats 🧪
Steps errorsExpand to view the steps failures
|
💔 Build Failed
Expand to view the summary
Build stats
Pipeline error
❕ Flaky test reportNo test was executed to be analysed. 🤖 GitHub commentsExpand to view the GitHub comments
To re-run your PR in the CI, just comment with:
|
0fdf2ae
to
e82a2e5
Compare
go.mod replace has been removed, now that v7.6.0 of elastic-agent-client has been released |
❕ Build Aborted
Expand to view the summary
Build stats
Test stats 🧪
Steps errorsExpand to view the steps failures
|
❕ Build Aborted
Expand to view the summary
Build stats
Test stats 🧪
Test errorsExpand to view the tests failures
|
@@ -133,7 +133,7 @@ func TestSimpleInputConfig(t *testing.T) { | |||
fmt.Sprintf(":%d", server.Port), | |||
"", | |||
client.VersionInfo{}, | |||
grpc.WithTransportCredentials(insecure.NewCredentials())) | |||
client.WithGRPCDialOptions(grpc.WithTransportCredentials(insecure.NewCredentials()))) |
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.
Can the test in here be modified to verify that chunking works as expected?
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.
Doesn't make sense to test a feature of an external library. The library handles all the chunking and ensures that its on, and that library is fully tested.
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.
In this case where there are essentially no changes besides the dependency this seems reasonable.
I am a bit worried that nothing is actually testing that this works with a real Beat anywhere though. If we can force an existing integration test in the agent repository to use chunking for everything that's probably a better way to test this.
* Update to elastic-agent-client with chunking support. * Add changelog entry. * Fix changelog again. * Update to v7.6.0 elastic-agent-client. * Fix tests. * Fix another test. * Fix windows lint.
Proposed commit message
Update to elastic-agent-client with chunking support.
Checklist
[ ] I have made corresponding changes to the documentation[ ] I have made corresponding change to the default configuration files[ ] I have added tests that prove my fix is effective or that my feature worksCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Author's Checklist
How to test this PR locally
See elastic/elastic-agent#3884 for how to test.
Related issues