From 74d86b53e327918eb6071012ec0bf5962676716c Mon Sep 17 00:00:00 2001 From: David Kyle Date: Thu, 28 Apr 2022 14:04:25 +0100 Subject: [PATCH] [ML] Mute PyTorch tests (#86263) for elastic/ml-cpp#2258 --- .../org/elasticsearch/xpack/ml/integration/MlMemoryIT.java | 1 + .../org/elasticsearch/xpack/ml/integration/PyTorchModelIT.java | 3 +++ .../elasticsearch/xpack/ml/integration/TestFeatureResetIT.java | 1 + 3 files changed, 5 insertions(+) diff --git a/x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/MlMemoryIT.java b/x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/MlMemoryIT.java index 2084ea491e804..d81e1a3cdd3b2 100644 --- a/x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/MlMemoryIT.java +++ b/x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/MlMemoryIT.java @@ -57,6 +57,7 @@ public void cleanUpAfterTest() { cleanUp(); } + @AwaitsFix(bugUrl = "https://github.com/elastic/ml-cpp/pull/2258") public void testMemoryStats() throws Exception { deployTrainedModel(); diff --git a/x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/PyTorchModelIT.java b/x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/PyTorchModelIT.java index 5165e0afa91c5..45382bafc663a 100644 --- a/x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/PyTorchModelIT.java +++ b/x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/PyTorchModelIT.java @@ -8,6 +8,7 @@ package org.elasticsearch.xpack.ml.integration; import org.apache.http.util.EntityUtils; +import org.apache.lucene.tests.util.LuceneTestCase; import org.elasticsearch.client.Request; import org.elasticsearch.client.Response; import org.elasticsearch.client.ResponseException; @@ -74,6 +75,8 @@ * torch.jit.save(traced_model, "simplemodel.pt") * ## End Python */ + +@LuceneTestCase.AwaitsFix(bugUrl = "https://github.com/elastic/ml-cpp/pull/2258") public class PyTorchModelIT extends ESRestTestCase { private static final String BASIC_AUTH_VALUE_SUPER_USER = UsernamePasswordToken.basicAuthHeaderValue( diff --git a/x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/TestFeatureResetIT.java b/x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/TestFeatureResetIT.java index e56f90cf78b46..45506169dcc19 100644 --- a/x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/TestFeatureResetIT.java +++ b/x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/TestFeatureResetIT.java @@ -165,6 +165,7 @@ public void testMLFeatureResetFailureDueToPipelines() throws Exception { assertThat(isResetMode(), is(false)); } + @AwaitsFix(bugUrl = "https://github.com/elastic/ml-cpp/pull/2258") public void testMLFeatureResetWithModelDeployment() throws Exception { createModelDeployment(); client().execute(ResetFeatureStateAction.INSTANCE, new ResetFeatureStateRequest()).actionGet();