-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Add integration test coverage for SO migrations against serverless ES #164959
Add integration test coverage for SO migrations against serverless ES #164959
Conversation
…s-against-serverless
…s-against-serverless
Pinging @elastic/kibana-core (Team:Core) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall approach makes sense to me.
I am a little bit concerned about maintainability when we start to use multiple createXTest
test factories, but the alternative I can think of is to maintain two sets of tests: one for serverless and one for stateful.
Overall, for now, I think this is a pragmatic compromise.
…s-against-serverless
41d54c0
to
a5aefd4
Compare
…s-against-serverless
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Public APIs missing exports
History
To update your PR or re-run it, just comment with: |
…ness (#170023) Attempt at understanding #166190 I first thought the flakiness could be a regression in Elasticsearch, but it turns out because I can only reproduce 90% of the time I got "lucky" and found a previous ES commit where tests passed 3 times in a row. On further investigation I was able to reproduce failures on commits as old as July (before we even saw these failures) so ES is unlikely to be the root cause 👎 Looking at our flaky test failure logs I found the first occurence happened on 5 September on the branch for #164959 (before it was merged) and then subsequent failures on other branches and main happened within a few hours after #164959 was merged on 11 September. However, nothing in #164959 should have changed or impacted behaviour. To try to track down the cause this PR is attempting to restorte `actions.test.ts` until before #164959. Serverless tests will continue to use `actions_test_suite.ts` but for classic we'll run the old `actions.test.ts`.
Summary
Blocked by #162673Add some initial integration test coverage for SO migrations when running against serverless Elasticsearch:
The actions test suite was adapted to skip, when run against serverless, the tests that are not supposed to be run (or passing) in that environment