mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
* [ML] Unksip tests attempt 2
* Test prob < 1e7 docs
* Unskip data view management tests
(cherry picked from commit 64666cf314
)
Co-authored-by: Quynh Nguyen <43350163+qn895@users.noreply.github.com>
This commit is contained in:
parent
d5b92593b1
commit
3062f7ca16
6 changed files with 11 additions and 13 deletions
|
@ -171,7 +171,11 @@ export const getDocumentCountStats = async (
|
||||||
|
|
||||||
// If the number of docs sampled is indicative of query with < 10 million docs
|
// If the number of docs sampled is indicative of query with < 10 million docs
|
||||||
// proceed to make a vanilla aggregation without any sampling
|
// proceed to make a vanilla aggregation without any sampling
|
||||||
if (numSampled === 0 || newProbability === Infinity) {
|
if (
|
||||||
|
numSampled === 0 ||
|
||||||
|
newProbability === Infinity ||
|
||||||
|
numSampled / initialDefaultProbability < 1e7
|
||||||
|
) {
|
||||||
const vanillaAggResp = await search
|
const vanillaAggResp = await search
|
||||||
.search(
|
.search(
|
||||||
{
|
{
|
||||||
|
|
|
@ -36,7 +36,7 @@ export default function ({ getService, loadTestFile }: FtrProviderContext) {
|
||||||
loadTestFile(require.resolve('./index_data_visualizer_grid_in_discover'));
|
loadTestFile(require.resolve('./index_data_visualizer_grid_in_discover'));
|
||||||
loadTestFile(require.resolve('./index_data_visualizer_grid_in_dashboard'));
|
loadTestFile(require.resolve('./index_data_visualizer_grid_in_dashboard'));
|
||||||
loadTestFile(require.resolve('./index_data_visualizer_actions_panel'));
|
loadTestFile(require.resolve('./index_data_visualizer_actions_panel'));
|
||||||
loadTestFile(require.resolve('./index_data_visualizer_index_pattern_management'));
|
loadTestFile(require.resolve('./index_data_visualizer_data_view_management'));
|
||||||
loadTestFile(require.resolve('./file_data_visualizer'));
|
loadTestFile(require.resolve('./file_data_visualizer'));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,8 +36,7 @@ export default function ({ getPageObject, getService }: FtrProviderContext) {
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
// FLAKY: https://github.com/elastic/kibana/issues/137016
|
it(`${testData.suiteTitle} displays index details`, async () => {
|
||||||
it.skip(`${testData.suiteTitle} displays index details`, async () => {
|
|
||||||
await ml.testExecution.logTestStep(`${testData.suiteTitle} displays the time range step`);
|
await ml.testExecution.logTestStep(`${testData.suiteTitle} displays the time range step`);
|
||||||
await ml.dataVisualizerIndexBased.assertTimeRangeSelectorSectionExists();
|
await ml.dataVisualizerIndexBased.assertTimeRangeSelectorSectionExists();
|
||||||
|
|
||||||
|
@ -154,9 +153,7 @@ export default function ({ getPageObject, getService }: FtrProviderContext) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// Failing: See https://github.com/elastic/kibana/issues/137032
|
describe('index based', function () {
|
||||||
// Failing: See https://github.com/elastic/kibana/issues/118472
|
|
||||||
describe.skip('index based', function () {
|
|
||||||
this.tags(['ml']);
|
this.tags(['ml']);
|
||||||
before(async () => {
|
before(async () => {
|
||||||
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/ml/farequote');
|
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/ml/farequote');
|
||||||
|
|
|
@ -11,8 +11,7 @@ export default function ({ getService }: FtrProviderContext) {
|
||||||
const esArchiver = getService('esArchiver');
|
const esArchiver = getService('esArchiver');
|
||||||
const ml = getService('ml');
|
const ml = getService('ml');
|
||||||
|
|
||||||
// Failing: See https://github.com/elastic/kibana/issues/137046
|
describe('index based actions panel on trial license', function () {
|
||||||
describe.skip('index based actions panel on trial license', function () {
|
|
||||||
this.tags(['ml']);
|
this.tags(['ml']);
|
||||||
|
|
||||||
const indexPatternName = 'ft_farequote';
|
const indexPatternName = 'ft_farequote';
|
||||||
|
|
|
@ -172,8 +172,7 @@ export default function ({ getService }: FtrProviderContext) {
|
||||||
await ml.dataVisualizerIndexBased.assertTotalFieldsCount(testData.expected.totalFieldsCount);
|
await ml.dataVisualizerIndexBased.assertTotalFieldsCount(testData.expected.totalFieldsCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Failing: See https://github.com/elastic/kibana/issues/137174
|
describe('data view management', function () {
|
||||||
describe.skip('data view management', function () {
|
|
||||||
this.tags(['ml']);
|
this.tags(['ml']);
|
||||||
const indexPatternTitle = 'ft_farequote';
|
const indexPatternTitle = 'ft_farequote';
|
||||||
before(async () => {
|
before(async () => {
|
|
@ -91,8 +91,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// FLAKY: https://github.com/elastic/kibana/issues/137062
|
describe('field statistics in Discover', function () {
|
||||||
describe.skip('field statistics in Discover', function () {
|
|
||||||
before(async function () {
|
before(async function () {
|
||||||
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/ml/farequote');
|
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/ml/farequote');
|
||||||
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/ml/module_sample_logs');
|
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/ml/module_sample_logs');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue