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

[Cases] Adding refresh to ensure status is updated #102742

Merged

Conversation

jonathan-buttner
Copy link
Contributor

This PR addresses a flaky test where the alert status isn't always changing as it is supposed to. I added in an index refresh to ensure that the status is changed before we query for it.

Flaky test: #102551

@jonathan-buttner jonathan-buttner added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting Security Solution Threat Hunting Team Feature:Cases Cases feature v7.14.0 labels Jun 21, 2021
@jonathan-buttner jonathan-buttner requested a review from a team as a code owner June 21, 2021 14:12
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting (Team:Threat Hunting)

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

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

@jonathan-buttner jonathan-buttner added the auto-backport Deprecated - use backport:version if exact versions are needed label Jun 21, 2021
@jonathan-buttner jonathan-buttner merged commit 3589ade into elastic:master Jun 21, 2021
@jonathan-buttner jonathan-buttner deleted the cases-alert-status-test branch June 21, 2021 16:29
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jun 21, 2021
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Jun 21, 2021
Co-authored-by: Jonathan Buttner <56361221+jonathan-buttner@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed Feature:Cases Cases feature release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting Security Solution Threat Hunting Team v7.14.0 v8.0.0
Projects
None yet
4 participants