mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Fix broken tests as a result of tsid hashing (#176120)
## Summary This RP updates two `data.json.gz` files to remove all doc IDs (which is unsupported according to https://github.com/elastic/kibana/issues/176109#issuecomment-1923646627), which started causing failings after tsid hashing was implemented by ES in https://github.com/elastic/elasticsearch/pull/98023. Resolves #176103. Resolves #176102. Resolves #176100. Resolves #176107. Resolves #176108. Resolves #176109. ### Checklist - [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [ ] Any UI touched in this PR is usable by keyboard only (learn more about [keyboard accessibility](https://webaim.org/techniques/keyboard/)) - [ ] Any UI touched in this PR does not create any new axe failures (run axe in browser: [FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/), [Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US)) - [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker) - [ ] This renders correctly on smaller devices using a responsive layout. (You can test this [in your browser](https://www.browserstack.com/guide/responsive-testing-on-local-server)) - [ ] This was checked for [cross-browser compatibility](https://www.elastic.co/support/matrix#matrix_browsers) ### For maintainers - [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
This commit is contained in:
parent
435680612e
commit
fcde1444fb
7 changed files with 4 additions and 11 deletions
|
@ -26,9 +26,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
const esArchiver = getService('esArchiver');
|
||||
const monacoEditor = getService('monacoEditor');
|
||||
|
||||
// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/176102
|
||||
// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/176103
|
||||
describe.skip('handling warnings with search source fetch', function () {
|
||||
describe('handling warnings with search source fetch', function () {
|
||||
const dataViewTitle = 'sample-01,sample-01-rollup';
|
||||
const fromTime = 'Jun 17, 2022 @ 00:00:00.000';
|
||||
const toTime = 'Jun 23, 2022 @ 00:00:00.000';
|
||||
|
|
|
@ -28,8 +28,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
hideAnnouncements: true,
|
||||
};
|
||||
|
||||
// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/176100
|
||||
describe.skip('discover default columns', function () {
|
||||
describe('discover default columns', function () {
|
||||
before(async () => {
|
||||
await security.testUser.setRoles(['kibana_admin', 'test_logstash_reader']);
|
||||
await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/logstash_functional');
|
||||
|
|
|
@ -17,8 +17,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
|
|||
const esArchiver = getService('esArchiver');
|
||||
const testSubjects = getService('testSubjects');
|
||||
|
||||
// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/176109
|
||||
describe.skip('visual builder tsdb check', function describeIndexTests() {
|
||||
describe('visual builder tsdb check', function describeIndexTests() {
|
||||
before(async () => {
|
||||
log.info(`loading sample TSDB index...`);
|
||||
await esArchiver.load('test/functional/fixtures/es_archiver/kibana_sample_data_logs_tsdb');
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -11,8 +11,6 @@ import { subj } from '@kbn/test-subj-selector';
|
|||
export const journey = new Journey({
|
||||
kbnArchives: ['test/functional/fixtures/kbn_archiver/kibana_sample_data_logs_tsdb'],
|
||||
esArchives: ['test/functional/fixtures/es_archiver/kibana_sample_data_logs_tsdb'],
|
||||
// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/176107
|
||||
skipped: true,
|
||||
})
|
||||
.step('Go to Data Visualizer', async ({ page, kbnUrl, kibanaPage }) => {
|
||||
await page.goto(kbnUrl.get(`app/ml/datavisualizer`));
|
||||
|
|
|
@ -311,8 +311,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
log.info(`Indexed ${res.items.length} test data docs.`);
|
||||
};
|
||||
|
||||
// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/176108
|
||||
describe.skip('lens tsdb', function () {
|
||||
describe('lens tsdb', function () {
|
||||
const tsdbIndex = 'kibana_sample_data_logstsdb';
|
||||
const tsdbDataView = tsdbIndex;
|
||||
const tsdbEsArchive = 'test/functional/fixtures/es_archiver/kibana_sample_data_logs_tsdb';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue