Skip to content

Commit 2c708b4

Browse files
nnegreychingor13
authored andcommitted
samples: automl: update error check due to changes (#2377)
1 parent 3c51ad6 commit 2c708b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

automl/snippets/src/test/java/com/example/automl/BatchPredictTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ public void testBatchPredict() {
8383
BatchPredict.batchPredict(PROJECT_ID, MODEL_ID, inputUri, outputUri);
8484
String got = bout.toString();
8585
assertThat(got)
86-
.contains("The model is either not found or not supported for prediction yet.");
86+
.contains("does not exist");
8787
} catch (IOException | ExecutionException | InterruptedException e) {
8888
assertThat(e.getMessage())
89-
.contains("The model is either not found or not supported for prediction yet.");
89+
.contains("does not exist");
9090
}
9191
}
9292
}

0 commit comments

Comments
 (0)