Skip to content

Commit

Permalink
Ignoring Redeploy test on MacOS due to known failures (#1414) (#1416)
Browse files Browse the repository at this point in the history
* Ignoring test on MacOS due to known failures

Signed-off-by: Sarat Vemulapalli <[email protected]>

* Ingoring the ignore

Signed-off-by: Sarat Vemulapalli <[email protected]>

* Ignoring all tests in this class with MacOS

Signed-off-by: Sarat Vemulapalli <[email protected]>

---------

Signed-off-by: Sarat Vemulapalli <[email protected]>
(cherry picked from commit a0c20e6)

Co-authored-by: Sarat Vemulapalli <[email protected]>
  • Loading branch information
1 parent 4f6d0d0 commit c45555c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import java.io.IOException;
import java.util.Map;

import org.junit.Assume;
import org.junit.Before;
import org.junit.Rule;
import org.junit.rules.ExpectedException;
Expand All @@ -26,6 +27,8 @@ public class RestMLDeployModelActionIT extends MLCommonsRestTestCase {

@Before
public void setup() throws IOException {
// Skip test if running on Mac OS, https://github.com/opensearch-project/ml-commons/issues/844
Assume.assumeFalse(System.getProperty("os.name").startsWith("Mac OS X"));
mlRegisterModelGroupInput = MLRegisterModelGroupInput.builder().name("testGroupID").description("This is test Group").build();
registerModelGroup(client(), TestHelper.toJsonString(mlRegisterModelGroupInput), registerModelGroupResult -> {
this.modelGroupId = (String) registerModelGroupResult.get("model_group_id");
Expand Down

0 comments on commit c45555c

Please sign in to comment.