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 Shabirmean committed Nov 18, 2022
1 parent cd35d2d commit 9ac9c23
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 9ac9c23

Please sign in to comment.