From 59b1a24f890b16d2ca2d7e3f5a622adf8225c957 Mon Sep 17 00:00:00 2001
From: Robert Oskamp <robert.oskamp@elastic.co>
Date: Tue, 7 Apr 2020 16:40:47 +0200
Subject: [PATCH] [7.x] [ML] Disable functional tests

---
 x-pack/test/api_integration/apis/ml/index.ts          | 5 ++++-
 x-pack/test/functional/apps/machine_learning/index.ts | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/x-pack/test/api_integration/apis/ml/index.ts b/x-pack/test/api_integration/apis/ml/index.ts
index 4e21faa610bfe..bcba156a64f0e 100644
--- a/x-pack/test/api_integration/apis/ml/index.ts
+++ b/x-pack/test/api_integration/apis/ml/index.ts
@@ -9,7 +9,10 @@ import { FtrProviderContext } from '../../ftr_provider_context';
 export default function({ getService, loadTestFile }: FtrProviderContext) {
   const ml = getService('ml');
 
-  describe('Machine Learning', function() {
+  // ML tests need to be disabled in orde to get the ES snapshot with
+  // https://github.com/elastic/elasticsearch/pull/54713 promoted
+  // and should be re-enabled as part of https://github.com/elastic/kibana/pull/61980
+  describe.skip('Machine Learning', function() {
     this.tags(['mlqa']);
 
     before(async () => {
diff --git a/x-pack/test/functional/apps/machine_learning/index.ts b/x-pack/test/functional/apps/machine_learning/index.ts
index 47c699e309491..143899a61ffb9 100644
--- a/x-pack/test/functional/apps/machine_learning/index.ts
+++ b/x-pack/test/functional/apps/machine_learning/index.ts
@@ -8,7 +8,10 @@ import { FtrProviderContext } from '../../ftr_provider_context';
 export default function({ getService, loadTestFile }: FtrProviderContext) {
   const ml = getService('ml');
 
-  describe('machine learning', function() {
+  // ML tests need to be disabled in orde to get the ES snapshot with
+  // https://github.com/elastic/elasticsearch/pull/54713 promoted
+  // and should be re-enabled as part of https://github.com/elastic/kibana/pull/61980
+  describe.skip('machine learning', function() {
     this.tags('ciGroup3');
 
     before(async () => {