-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[data.search] Skip async search tests in build candidates and production builds #81547
Conversation
Pinging @elastic/kibana-app-arch (Team:AppArch) |
2168d34
to
8ed091d
Compare
const testSubjects = getService('testSubjects'); | ||
const PageObjects = getPageObjects(['common', 'header', 'dashboard', 'visChart']); | ||
|
||
describe('dashboard with async search', () => { | ||
before(async function () { | ||
const { body } = await es.info(); | ||
if (!body.version.number.includes('SNAPSHOT')) this.skip(); |
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.
When we skip, mind logging that we are because we're not running with a snapshot that includes the required shard_delay agg? Might come in useful in the future to people looking at the code or the logs.
💚 Build SucceededMetrics [docs]
To update your PR or re-run it, just comment with: |
…ion builds (elastic#81547) * Skip async search tests in build candidates and production builds * Add log when skipping
…ion builds (elastic#81547) * Skip async search tests in build candidates and production builds * Add log when skipping
* master: (37 commits) [ILM] Migrate Warm phase to Form Lib (elastic#81323) [Security Solutions][Detection Engine] Fixes critical bug with error reporting that was doing a throw (elastic#81549) [Detection Rules] Add 7.10 rules (elastic#81676) [kbn/optimizer] ignore missing metrics when updating limits with --focus (elastic#81696) [SECURITY SOLUTIONS] Bugs overview page + investigate eql in timeline (elastic#81550) [Maps] fix unable to edit cluster vector styles styled by count when switching to super fine grid resolution (elastic#81525) Fixed migration issue for case specific actions, by extending email action migrator checks (elastic#81673) [CI] Preparation for APM tracking on CI (elastic#80399) [Home] Fixes Kibana app description order on home page and updates Canvas copy (elastic#80057) Make sure `to` is 'now' and not the same as `from` (elastic#81524) Nitpicking the 8.0 Breaking Change issue template (elastic#81678) [SECURITY_SOLUTION] Fix text on onboarding screen (elastic#81672) [data.search] Skip async search tests in build candidates and production builds (elastic#81547) Fix previousStartedAt by not changing when execution fails (elastic#81388) [Monitoring] Fix a couple of issues with the cpu usage alert (elastic#80737) Telemetry collection xpack to ts project references (elastic#81269) Elasticsearch: don't use url authentication for new client (elastic#81564) [App Search] Credentials: implement working flyout form (elastic#81541) Properly encode links to edit user page (elastic#81562) [Alerting UI] Don't wait for health check before showing Create Alert flyout (elastic#80996) ...
Summary
The
shard_delay
aggregation that these tests rely on is only available in snapshot builds. As a result, these tests fail in build candidate and release builds. This PR conditionally skips the test in these environments.Checklist