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

[File service] Fix integration tests #164958

Merged
merged 12 commits into from
Aug 29, 2023

Conversation

sebelga
Copy link
Contributor

@sebelga sebelga commented Aug 28, 2023

In this PR I fixed a flaky integration test. As within the test we upload and delete the file in a short timeframe the index was not refreshed and throw a conflict error (no documents found). I ran CI multiple times to be sure that the flakiness is fixed.

Fixes #144505
Fixes #144506

@sebelga sebelga self-assigned this Aug 29, 2023
@sebelga sebelga added test Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) feature:Files labels Aug 29, 2023
@sebelga sebelga marked this pull request as ready for review August 29, 2023 13:13
@sebelga sebelga requested a review from a team as a code owner August 29, 2023 13:13
@elasticmachine
Copy link
Contributor

Pinging @elastic/appex-sharedux (Team:SharedUX)

@sebelga sebelga added the release_note:skip Skip the PR/issue when compiling release notes label Aug 29, 2023
@sebelga sebelga enabled auto-merge (squash) August 29, 2023 13:15
}) => {
if (refreshIndex) {
try {
// Make sure to refresh the index before deleting the file to avoid an conflict error thrown by
Copy link
Contributor

Choose a reason for hiding this comment

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

nice! love the comments

@sebelga sebelga merged commit 34a11bf into elastic:main Aug 29, 2023
@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #33 / Controls "before all" hook: setup in "Controls"

Metrics [docs]

✅ unchanged

History

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

cc @sebelga

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting feature:Files release_note:skip Skip the PR/issue when compiling release notes Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) test v8.11.0
Projects
None yet
5 participants