Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
samples: video: fix flaky tests (#2376)
Browse files Browse the repository at this point in the history
  • Loading branch information
nnegrey authored and chingor13 committed Aug 24, 2020
1 parent e811d6e commit cdd3f01
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ public void tearDown() {
public void testDetectFacesGcs() throws Exception {
DetectFacesGcs.detectFacesGcs("gs://cloud-samples-data/video/googlework_short.mp4");
String got = bout.toString();
assertThat(got).contains("glasses");
assertThat(got).contains("Attribute");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ public void tearDown() {
public void testDetectFaces() throws Exception {
DetectFaces.detectFaces("resources/googlework_short.mp4");
String got = bout.toString();
assertThat(got).contains("glasses");
assertThat(got).contains("Attribute");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ public void tearDown() {
public void testDetectPersonGcs() throws Exception {
DetectPersonGcs.detectPersonGcs("gs://cloud-samples-data/video/googlework_short.mp4");
String got = bout.toString();
assertThat(got).contains("Hair");
assertThat(got).contains("Landmark");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ public void tearDown() {
public void testDetectPerson() throws Exception {
DetectPerson.detectPerson("resources/googlework_short.mp4");
String got = bout.toString();
assertThat(got).contains("Hair");
assertThat(got).contains("Landmark");
}
}

0 comments on commit cdd3f01

Please sign in to comment.