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.
  • Loading branch information
pheyos authored Oct 11, 2022
1 parent 193a37d commit d3db6e7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 19 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');

// FLAKY: https://github.com/elastic/kibana/issues/142118
// 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 Expand Up @@ -137,8 +135,7 @@ export default function ({ getService }: FtrProviderContext) {
});

for (const testData of testDataList) {
// FLAKY: https://github.com/elastic/kibana/issues/142118
describe.skip(`${testData.suiteTitle}`, function () {
describe(`${testData.suiteTitle}`, function () {
const cloneJobId = `${testData.job.id}_clone`;
const cloneDestIndex = `${testData.job!.dest!.index}_clone`;

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 d3db6e7

Please sign in to comment.