Skip to content

Commit

Permalink
samples: automl: update error check due to changes (#2377)
Browse files Browse the repository at this point in the history
  • Loading branch information
nnegrey authored and anguillanneuf committed Dec 5, 2022
1 parent 3203f3f commit e77f16a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ public void testBatchPredict() {
BatchPredict.batchPredict(PROJECT_ID, MODEL_ID, inputUri, outputUri);
String got = bout.toString();
assertThat(got)
.contains("The model is either not found or not supported for prediction yet.");
.contains("does not exist");
} catch (IOException | ExecutionException | InterruptedException e) {
assertThat(e.getMessage())
.contains("The model is either not found or not supported for prediction yet.");
.contains("does not exist");
}
}
}

0 comments on commit e77f16a

Please sign in to comment.