Skip to content

Commit 783a454

Browse files
authored
Merge pull request #663 from GoogleCloudPlatform/vision-http-flaky
Changes http test to point to better hosting
2 parents f5692d4 + d62d74e commit 783a454

File tree

1 file changed

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

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,9 @@ public void testLandmarksGcs() throws Exception {
124124
@Test
125125
public void testLandmarksUrl() throws Exception {
126126
// Act
127-
String[] args = {"landmarks", "https://pbs.twimg.com/media/C4wfMOhVcAAUAgq.jpg"};
127+
String uri = "https://storage-download.googleapis.com/"
128+
+ BUCKET + "/vision/landmark.jpg";
129+
String[] args = {"landmarks", uri};
128130
Detect.argsHelper(args, out);
129131

130132
// Assert

0 commit comments

Comments
 (0)