Skip to content

Commit

Permalink
chore: service throttles on public URLs & its known issue. (#477)
Browse files Browse the repository at this point in the history
  • Loading branch information
munkhuushmgl committed Apr 20, 2021
1 parent ac0277b commit 2775ad5
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@

import com.example.vision.snippets.DetectLandmarksGcs;
import com.example.vision.snippets.DetectLandmarksUrl;
import com.google.cloud.testing.junit4.MultipleAttemptsRule;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
Expand Down Expand Up @@ -52,6 +54,9 @@ public void tearDown() {
System.setOut(originalPrintStream);
}

@Rule
public MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(3);

@Test
public void testLandmarksUrl() throws Exception {
// Act
Expand Down

0 comments on commit 2775ad5

Please sign in to comment.