Skip to content

Commit

Permalink
[ML] Functional tests - re-enable data frame analytics suites (elasti…
Browse files Browse the repository at this point in the history
…c#143029)

This PR re-enables some data frame analytics test suites.

(cherry picked from commit d3db6e7)

# Conflicts:
#	x-pack/test/functional/apps/ml/data_frame_analytics/cloning.ts
  • Loading branch information
pheyos committed Oct 11, 2022
1 parent a2a1165 commit bd11c5c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ export default function ({ getService }: FtrProviderContext) {
const ml = getService('ml');
const editedDescription = 'Edited description';

// FLAKY: https://github.com/elastic/kibana/issues/142102
describe.skip('classification creation', function () {
describe('classification creation', function () {
before(async () => {
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/ml/bm_classification');
await ml.testResources.createIndexPatternIfNeeded('ft_bank_marketing', '@timestamp');
Expand Down Expand Up @@ -93,8 +92,7 @@ export default function ({ getService }: FtrProviderContext) {
},
];
for (const testData of testDataList) {
// FLAKY: https://github.com/elastic/kibana/issues/142102
describe.skip(`${testData.suiteTitle}`, function () {
describe(`${testData.suiteTitle}`, function () {
after(async () => {
await ml.api.deleteIndices(testData.destinationIndex);
await ml.testResources.deleteIndexPatternByTitle(testData.destinationIndex);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ export default function ({ getService }: FtrProviderContext) {
const esArchiver = getService('esArchiver');
const ml = getService('ml');

// Failing: See https://github.com/elastic/kibana/issues/142151
// Failing: See https://github.com/elastic/kibana/issues/142118
describe.skip('jobs cloning supported by UI form', function () {
describe('jobs cloning supported by UI form', function () {
const testDataList: Array<{
suiteTitle: string;
archive: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ export default function ({ getService }: FtrProviderContext) {
const ml = getService('ml');
const editedDescription = 'Edited description';

// FLAKY: https://github.com/elastic/kibana/issues/142083
describe.skip('outlier detection creation', function () {
describe('outlier detection creation', function () {
before(async () => {
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/ml/ihp_outlier');
await ml.testResources.createIndexPatternIfNeeded('ft_ihp_outlier', '@timestamp');
Expand Down Expand Up @@ -109,8 +108,7 @@ export default function ({ getService }: FtrProviderContext) {
];

for (const testData of testDataList) {
// FLAKY: https://github.com/elastic/kibana/issues/142083
describe.skip(`${testData.suiteTitle}`, function () {
describe(`${testData.suiteTitle}`, function () {
after(async () => {
await ml.api.deleteIndices(testData.destinationIndex);
await ml.testResources.deleteIndexPatternByTitle(testData.destinationIndex);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ export default function ({ getService }: FtrProviderContext) {
const ml = getService('ml');
const editedDescription = 'Edited description';

// FLAKY: https://github.com/elastic/kibana/issues/142095
describe.skip('regression creation', function () {
describe('regression creation', function () {
before(async () => {
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/ml/egs_regression');
await ml.testResources.createIndexPatternIfNeeded('ft_egs_regression', '@timestamp');
Expand Down Expand Up @@ -87,8 +86,7 @@ export default function ({ getService }: FtrProviderContext) {
];

for (const testData of testDataList) {
// FLAKY: https://github.com/elastic/kibana/issues/142095
describe.skip(`${testData.suiteTitle}`, function () {
describe(`${testData.suiteTitle}`, function () {
after(async () => {
await ml.api.deleteIndices(testData.destinationIndex);
await ml.testResources.deleteIndexPatternByTitle(testData.destinationIndex);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ export default function ({ getService }: FtrProviderContext) {
const esArchiver = getService('esArchiver');
const ml = getService('ml');

// Failing: See https://github.com/elastic/kibana/issues/142152
describe.skip('results view content and total feature importance', function () {
describe('results view content and total feature importance', function () {
const testDataList: Array<{
suiteTitle: string;
archive: string;
Expand Down

0 comments on commit bd11c5c

Please sign in to comment.