Repository navigation
docs: note that Go integration tests build their own test binary - #54320
Closed
Anshuman-Prakash wants to merge 1 commit into
Closed
Anshuman-Prakash wants to merge 1 commit into
Anshuman-Prakash wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
This pull request doesn't have a |
Contributor
🤖 GitHub commentsJust comment with:
|
Contributor
|
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
Member
|
Please see my comment here: #54301 (comment). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relates to #50168
The system-tests section covers both the Python tests in
tests/systemand the Go tests intests/integration, but tells you to runmage buildSystemTestBinarywithout saying which it applies to. Go tests build their own binary now -filebeat/tests/integration/integration_test.gocallsintegration.TestMainWithBuild(m, "filebeat"), andlibbeat/tests/integration/framework.godoes thetestbin.Builditself - andmage buildSystemTestBinaryprintsdeprecated for Go integration tests only ... This target remains required for Python system tests.So I scoped the sentence to Python and pointed Go readers at
TestMainWithBuild, rather than dropping the target.Two things from the issue I deliberately did not do:
mage buildSystemTestBinary(in thepytest ./tests/systemblock) is correct as-is - that block is Python-only, where the target is still required.filebeat/input/journald/README.mdno longer mentions the target at all, so that item is already resolved upstream.Docs only, so no changelog fragment; happy to add one or have
skip-changelogapplied.