Skip to content

Commit

Permalink
[ML] Functional tests - re-enable data frame analytics suites (#143029)
Browse files Browse the repository at this point in the history
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 9da3002 commit 824c512
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 14 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,8 +15,7 @@ export default function ({ getService }: FtrProviderContext) {
const esArchiver = getService('esArchiver');
const ml = getService('ml');

// 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

0 comments on commit 824c512

Please sign in to comment.