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

[Obs-UX-Mgmt] Fixing flaky test for Custom Threshold rule #175479

Merged

Conversation

simianhacker
Copy link
Member

@simianhacker simianhacker commented Jan 24, 2024

Summary

This PR fixes #175407 by increasing the rule lookback to 5 minutes to try and avoid picking up 2 buckets since we can't control the exact time of the rule execution to ensure accuracy and consistency. 😦

Fixes #175360

Flaky Test Runner Results

@apmmachine
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • /oblt-deploy-serverless : Deploy a serverless Kibana instance using the Observability test environments.
  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

…n the test is run we can't accurately check the doc_count since it could include 5-6 buckets.
@simianhacker simianhacker marked this pull request as ready for review January 25, 2024 18:57
@simianhacker simianhacker requested a review from a team as a code owner January 25, 2024 18:57
@simianhacker simianhacker added release_note:skip Skip the PR/issue when compiling release notes Team:obs-ux-management Observability Management User Experience Team v8.13.0 labels Jan 25, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

Copy link
Member

@maryam-saeidi maryam-saeidi left a comment

Choose a reason for hiding this comment

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

Thanks for the fix! ❤️ (Added some nit comments)

@maryam-saeidi maryam-saeidi enabled auto-merge (squash) January 26, 2024 15:24
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

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

@maryam-saeidi maryam-saeidi merged commit c8ada33 into elastic:main Jan 26, 2024
18 checks passed
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Jan 26, 2024
CoenWarmer pushed a commit to CoenWarmer/kibana that referenced this pull request Feb 15, 2024
…5479)

## Summary

This PR fixes elastic#175407 by increasing the rule lookback to 5 minutes to
try and avoid picking up 2 buckets since we can't control the exact time
of the rule execution to ensure accuracy and consistency. 😦

Fixes elastic#175360

[Flaky Test Runner
Results](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4959)

---------

Co-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co>
@simianhacker simianhacker deleted the issue-175407-fixes-document-count-test branch April 17, 2024 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment