Skip to content

Commit b3debb4

Browse files
nnegreychingor13
authored andcommitted
samples: Flaky test fix (#1490)
* Rework the tests to remove flakiness (hopefully) * Update IDs since old test deleted my knowledge base * Update GCS links to fix permission denied errors * Use declared var
1 parent 32a08ee commit b3debb4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

video/src/test/java/com/example/video/DetectIT.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ public void testTrackObjects() throws Exception {
8484

8585
@Test
8686
public void testTrackObjectsGcs() throws Exception {
87-
VideoAnnotationResults result = TrackObjects.trackObjectsGcs("gs://demomaker/cat.mp4");
87+
VideoAnnotationResults result = TrackObjects.trackObjectsGcs(
88+
"gs://cloud-samples-data/video/cat.mp4");
8889

8990
boolean textExists = false;
9091
for (ObjectTrackingAnnotation objectTrackingAnnotation : result.getObjectAnnotationsList()) {

0 commit comments

Comments
 (0)