Skip to content

Commit bb0108c

Browse files
chore(automl_vision): delete sample automl_vision_classification_deploy_model (#9808)
1 parent 50262b7 commit bb0108c

File tree

2 files changed

+0
-74
lines changed

2 files changed

+0
-74
lines changed

automl/src/main/java/com/google/cloud/vision/samples/automl/ClassificationDeployModel.java

Lines changed: 0 additions & 60 deletions
This file was deleted.

automl/src/test/java/com/google/cloud/vision/samples/automl/ClassificationDeployModelIT.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,6 @@ public void tearDown() {
4545
System.setOut(null);
4646
}
4747

48-
@Test
49-
public void testClassificationDeployModelApi() {
50-
// As model deployment can take a long time, instead try to deploy a
51-
// nonexistent model and confirm that the model was not found, but other
52-
// elements of the request were valid.
53-
try {
54-
ClassificationDeployModel.classificationDeployModel(PROJECT_ID, MODEL_ID);
55-
String got = bout.toString();
56-
assertThat(got).contains("The model does not exist");
57-
} catch (IOException | ExecutionException | InterruptedException e) {
58-
assertThat(e.getMessage()).contains("The model does not exist");
59-
}
60-
}
61-
6248
@Test
6349
public void testClassificationDeployModelNodeCountApi() {
6450
// As model deployment can take a long time, instead try to deploy a

0 commit comments

Comments
 (0)