Skip to content

Commit

Permalink
Temporarily ignore OpenAI Tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Bogan <[email protected]>
  • Loading branch information
ryanbogan authored and Zhangxunmt committed Jul 13, 2023
1 parent 0db87a7 commit 6de7cab
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ public void testDeployRemoteModel() throws IOException, InterruptedException {
waitForTask(taskId, MLTaskState.COMPLETED);
}

@Ignore
public void testPredictRemoteModel() throws IOException, InterruptedException {
Response response = createConnector(completionModelConnectorEntity);
Map responseMap = parseResponseToMap(response);
Expand Down Expand Up @@ -183,6 +184,7 @@ public void testUndeployRemoteModel() throws IOException, InterruptedException {
assertTrue(responseMap.toString().contains("undeployed"));
}

@Ignore
public void testOpenAIChatCompletionModel() throws IOException, InterruptedException {
String entity = "{\n"
+ " \"name\": \"OpenAI chat model Connector\",\n"
Expand Down Expand Up @@ -239,6 +241,7 @@ public void testOpenAIChatCompletionModel() throws IOException, InterruptedExcep
assertNotNull(responseMap);
}

@Ignore
public void testOpenAIEditsModel() throws IOException, InterruptedException {
String entity = "{\n"
+ " \"name\": \"OpenAI Edit model Connector\",\n"
Expand Down Expand Up @@ -304,6 +307,7 @@ public void testOpenAIEditsModel() throws IOException, InterruptedException {
assertFalse(((String) responseMap.get("text")).isEmpty());
}

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

0 comments on commit 6de7cab

Please sign in to comment.