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

[Logs Explorer] Functional tests: Complete cleanup before continuing with the next tests #175517

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

gbamparop
Copy link
Contributor

This functional test was failing locally, as it was expecting the integration to be Apache HTTP Server but was in fact 1password. This is because the previous test loads more integrations (than the original 3) and sometimes it doesn’t clean up in time before the next test runs.

This PR adds await on the async cleanupAdditionalSetup call to complete the cleanup before continuing with other tests.

@gbamparop gbamparop requested a review from a team as a code owner January 25, 2024 10:03
@gbamparop gbamparop added the release_note:skip Skip the PR/issue when compiling release notes label Jan 25, 2024
@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!)

Copy link
Contributor

@tonyghiani tonyghiani left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for catching this bug!

@gbamparop gbamparop enabled auto-merge (squash) January 25, 2024 10:21
@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #19 / discover "before all" hook in "discover"
  • [job] [logs] FTR Configs #83 / serverless security UI Serverless Security Cases Case View "after all" hook in "Case View"

Metrics [docs]

✅ unchanged

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

@gbamparop gbamparop merged commit 238bdb3 into elastic:main Jan 25, 2024
24 checks passed
@kibanamachine kibanamachine added v8.13.0 backport:skip This commit does not require backporting labels Jan 25, 2024
CoenWarmer pushed a commit to CoenWarmer/kibana that referenced this pull request Feb 15, 2024
…with the next tests (elastic#175517)

This [functional
test](https://github.com/elastic/kibana/blob/b25407edba0bb146c37d74b24e01d8c6367bfa64/x-pack/test/functional/apps/observability_log_explorer/dataset_selector.ts#L311)
was failing locally, as it was expecting the integration to be `Apache
HTTP Server` but was in fact `1password`. This is because the previous
test loads more integrations (than the original 3) and sometimes it
doesn’t clean up in time before the next test runs.

This PR adds `await` on the async
[cleanupAdditionalSetup](https://github.com/elastic/kibana/blob/main/x-pack/test/functional/apps/observability_log_explorer/dataset_selector.ts#L298)
call to complete the cleanup before continuing with other tests.
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 release_note:skip Skip the PR/issue when compiling release notes v8.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants