test: Fix flaky systemtest TestMonitoring#20697
Merged
carsonip merged 1 commit intoelastic:mainfrom Mar 12, 2026
Merged
Conversation
Contributor
🤖 GitHub commentsJust comment with:
|
90ea1a3 to
b99bdb8
Compare
Contributor
|
This pull request does not have a backport label. Could you fix it @carsonip? 🙏
|
Collaborator
💚 Build Succeeded
|
inge4pres
approved these changes
Mar 12, 2026
| // output.events.active is an instantaneous gauge. It may be non-zero | ||
| // if there are other events, e.g. aggregated metrics, in flight. | ||
| // Therefore, we assert presence of output.events.active value but not its value. | ||
| assert.Equal(t, gjson.Number, gjson.GetBytes(metrics.Libbeat, "output.events.active").Type) |
Contributor
|
@Mergifyio backport 8.19 9.2 9.3 |
Contributor
✅ Backports have been createdDetails
|
mergify bot
pushed a commit
that referenced
this pull request
Mar 12, 2026
(cherry picked from commit d4b4293)
2 tasks
mergify bot
pushed a commit
that referenced
this pull request
Mar 12, 2026
(cherry picked from commit d4b4293)
2 tasks
mergify bot
pushed a commit
that referenced
this pull request
Mar 12, 2026
(cherry picked from commit d4b4293)
2 tasks
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.
Motivation/summary
Fix flaky systemtest TestMonitoring by asserting type not value
Checklist
For functional changes, consider:
How to test these changes
Related issues
Fixes #20436