From 48c15bfa62f93add0d33b633d9ca0357510e18a4 Mon Sep 17 00:00:00 2001 From: Ryan Bogan <10944539+ryanbogan@users.noreply.github.com> Date: Mon, 17 Jul 2023 11:31:03 -0700 Subject: [PATCH] Reenable OpenAI remote inference tests (#1127) Signed-off-by: Ryan Bogan --- .../java/org/opensearch/ml/rest/RestMLRemoteInferenceIT.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plugin/src/test/java/org/opensearch/ml/rest/RestMLRemoteInferenceIT.java b/plugin/src/test/java/org/opensearch/ml/rest/RestMLRemoteInferenceIT.java index 9f4c3836cb..346d210ebc 100644 --- a/plugin/src/test/java/org/opensearch/ml/rest/RestMLRemoteInferenceIT.java +++ b/plugin/src/test/java/org/opensearch/ml/rest/RestMLRemoteInferenceIT.java @@ -134,7 +134,6 @@ public void testDeployRemoteModel() throws IOException, InterruptedException { waitForTask(taskId, MLTaskState.COMPLETED); } - @Ignore public void testPredictRemoteModel() throws IOException, InterruptedException { // Skip test if key is null if (OPENAI_KEY == null) { @@ -191,7 +190,6 @@ public void testUndeployRemoteModel() throws IOException, InterruptedException { assertTrue(responseMap.toString().contains("undeployed")); } - @Ignore public void testOpenAIChatCompletionModel() throws IOException, InterruptedException { // Skip test if key is null if (OPENAI_KEY == null) { @@ -252,7 +250,6 @@ public void testOpenAIChatCompletionModel() throws IOException, InterruptedExcep assertNotNull(responseMap); } - @Ignore public void testOpenAIEditsModel() throws IOException, InterruptedException { // Skip test if key is null if (OPENAI_KEY == null) { @@ -322,7 +319,6 @@ public void testOpenAIEditsModel() throws IOException, InterruptedException { assertFalse(((String) responseMap.get("text")).isEmpty()); } - @Ignore public void testOpenAIModerationsModel() throws IOException, InterruptedException { // Skip test if key is null if (OPENAI_KEY == null) {