Skip to content

Commit

Permalink
[ML] Mute tests for inference result format change
Browse files Browse the repository at this point in the history
These tests will fail if elastic/ml-cpp#2376 with
them unmuted. elastic#88901 will follow up with the Java
side changes.
  • Loading branch information
droberts195 committed Aug 3, 2022
1 parent 6bf5078 commit d30826d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
* torch.jit.save(traced_model, "simplemodel.pt")
* ## End Python
*/
@ESRestTestCase.AwaitsFix(bugUrl = "https://github.com/elastic/ml-cpp/pull/2376")
public class PyTorchModelIT extends ESRestTestCase {

private static final String BASIC_AUTH_VALUE_SUPER_USER = UsernamePasswordToken.basicAuthHeaderValue(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ setup:
---
"Test start and stop deployment with cache":
- skip:
version: all
reason: "@AwaitsFix https://github.com/elastic/ml-cpp/pull/2376"
features: allowed_warnings

- do:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.hasSize;

@AbstractFullClusterRestartTestCase.AwaitsFix(bugUrl = "https://github.com/elastic/ml-cpp/pull/2376")
public class MLModelDeploymentFullClusterRestartIT extends AbstractFullClusterRestartTestCase {

// See PyTorchModelIT for how this model was created
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
package org.elasticsearch.upgrades;

import org.apache.http.util.EntityUtils;
import org.apache.lucene.tests.util.LuceneTestCase;
import org.elasticsearch.Version;
import org.elasticsearch.client.Request;
import org.elasticsearch.client.Response;
Expand All @@ -30,7 +29,7 @@
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.hasSize;

@LuceneTestCase.AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/pull/89068")
@AbstractUpgradeTestCase.AwaitsFix(bugUrl = "https://github.com/elastic/ml-cpp/pull/2376")
public class MLModelDeploymentsUpgradeIT extends AbstractUpgradeTestCase {

// See PyTorchModelIT for how this model was created
Expand Down

0 comments on commit d30826d

Please sign in to comment.