Skip to content

Commit c603027

Browse files
committed
Updates flaky tests in vision beta.
1 parent 64d513b commit c603027

File tree

1 file changed

+2
-1
lines changed
  • vision/beta/cloud-client/src/test/java/com/example/vision

1 file changed

+2
-1
lines changed

vision/beta/cloud-client/src/test/java/com/example/vision/DetectIT.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,8 @@ public void testDetectWebEntitiesIncludeGeoResults() throws Exception {
283283

284284
// Assert
285285
String got = bout.toString();
286-
assertThat(got).contains("Zepra");
286+
// Note: entities and labels can change over time.
287+
assertThat(got).contains("Tel Aviv");
287288
}
288289

289290
@Test

0 commit comments

Comments
 (0)