Skip to content

Commit e3d2dc7

Browse files
ryanboganZhangxunmt
authored andcommitted
Temporarily ignore OpenAI Tests
Signed-off-by: Ryan Bogan <[email protected]> (cherry picked from commit 6de7cab)
1 parent 48aa8d7 commit e3d2dc7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ public void testDeployRemoteModel() throws IOException, InterruptedException {
131131
waitForTask(taskId, MLTaskState.COMPLETED);
132132
}
133133

134+
@Ignore
134135
public void testPredictRemoteModel() throws IOException, InterruptedException {
135136
Response response = createConnector(completionModelConnectorEntity);
136137
Map responseMap = parseResponseToMap(response);
@@ -183,6 +184,7 @@ public void testUndeployRemoteModel() throws IOException, InterruptedException {
183184
assertTrue(responseMap.toString().contains("undeployed"));
184185
}
185186

187+
@Ignore
186188
public void testOpenAIChatCompletionModel() throws IOException, InterruptedException {
187189
String entity = "{\n"
188190
+ " \"name\": \"OpenAI chat model Connector\",\n"
@@ -239,6 +241,7 @@ public void testOpenAIChatCompletionModel() throws IOException, InterruptedExcep
239241
assertNotNull(responseMap);
240242
}
241243

244+
@Ignore
242245
public void testOpenAIEditsModel() throws IOException, InterruptedException {
243246
String entity = "{\n"
244247
+ " \"name\": \"OpenAI Edit model Connector\",\n"
@@ -304,6 +307,7 @@ public void testOpenAIEditsModel() throws IOException, InterruptedException {
304307
assertFalse(((String) responseMap.get("text")).isEmpty());
305308
}
306309

310+
@Ignore
307311
public void testOpenAIModerationsModel() throws IOException, InterruptedException {
308312
String entity = "{\n"
309313
+ " \"name\": \"OpenAI moderations model Connector\",\n"

0 commit comments

Comments
 (0)