Skip to content

Commit 8f1d47d

Browse files
authored
Reenable OpenAI Remote Inference Tests (#1138)
Signed-off-by: Ryan Bogan <[email protected]>
1 parent ba77742 commit 8f1d47d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

plugin/src/test/java/org/opensearch/ml/rest/RestMLRemoteInferenceIT.java

-4
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ public void testDeployRemoteModel() throws IOException, InterruptedException {
134134
waitForTask(taskId, MLTaskState.COMPLETED);
135135
}
136136

137-
@Ignore
138137
public void testPredictRemoteModel() throws IOException, InterruptedException {
139138
// Skip test if key is null
140139
if (OPENAI_KEY == null) {
@@ -191,7 +190,6 @@ public void testUndeployRemoteModel() throws IOException, InterruptedException {
191190
assertTrue(responseMap.toString().contains("undeployed"));
192191
}
193192

194-
@Ignore
195193
public void testOpenAIChatCompletionModel() throws IOException, InterruptedException {
196194
// Skip test if key is null
197195
if (OPENAI_KEY == null) {
@@ -252,7 +250,6 @@ public void testOpenAIChatCompletionModel() throws IOException, InterruptedExcep
252250
assertNotNull(responseMap);
253251
}
254252

255-
@Ignore
256253
public void testOpenAIEditsModel() throws IOException, InterruptedException {
257254
// Skip test if key is null
258255
if (OPENAI_KEY == null) {
@@ -322,7 +319,6 @@ public void testOpenAIEditsModel() throws IOException, InterruptedException {
322319
assertFalse(((String) responseMap.get("text")).isEmpty());
323320
}
324321

325-
@Ignore
326322
public void testOpenAIModerationsModel() throws IOException, InterruptedException {
327323
// Skip test if key is null
328324
if (OPENAI_KEY == null) {

0 commit comments

Comments
 (0)