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 AI Assistant] Attempt to fix flaky KB migration test #206324

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

viduni94
Copy link
Contributor

Summary

Closes #202926

Problem

The KB migration test appears to be flaky sometimes, because the migration takes a few seconds to run. Therefore, when the test expects to have semantic_text for all entries, it fails.

Solution

Adding a retry statement to avoid the failure in cases where the migration takes a little while to run.

Checklist

  • Flaky Test Runner was used on any tests changed
  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines

@viduni94 viduni94 added release_note:skip Skip the PR/issue when compiling release notes Team:Obs AI Assistant Observability AI Assistant backport:version Backport to applied version labels v8.18.0 labels Jan 10, 2025
@viduni94 viduni94 self-assigned this Jan 10, 2025
@viduni94 viduni94 requested a review from a team as a code owner January 10, 2025 18:36
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ai-assistant (Team:Obs AI Assistant)

@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label Jan 10, 2025
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.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🎉 All tests passed! - kibana-flaky-test-suite-runner#7698

[✅] x-pack/test/observability_ai_assistant_api_integration/enterprise/config.ts: 200/200 tests passed.

see run history

@elasticmachine
Copy link
Contributor

elasticmachine commented Jan 10, 2025

💚 Build Succeeded

  • Buildkite Build
  • Commit: b14c8bd
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-206324-b14c8bd83710

Metrics [docs]

✅ unchanged

History

cc @viduni94

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment