File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
vision/snippets/src/test/java/com/example/vision Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 20
20
21
21
import com .example .vision .snippets .DetectLandmarksGcs ;
22
22
import com .example .vision .snippets .DetectLandmarksUrl ;
23
+ import com .google .cloud .testing .junit4 .MultipleAttemptsRule ;
23
24
import java .io .ByteArrayOutputStream ;
24
25
import java .io .PrintStream ;
25
26
import org .junit .After ;
26
27
import org .junit .Before ;
28
+ import org .junit .Rule ;
27
29
import org .junit .Test ;
28
30
import org .junit .runner .RunWith ;
29
31
import org .junit .runners .JUnit4 ;
@@ -52,6 +54,9 @@ public void tearDown() {
52
54
System .setOut (originalPrintStream );
53
55
}
54
56
57
+ @ Rule
58
+ public MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule (3 );
59
+
55
60
@ Test
56
61
public void testLandmarksUrl () throws Exception {
57
62
// Act
You can’t perform that action at this time.
0 commit comments