File tree 1 file changed +4
-0
lines changed
video/src/test/java/beta/video
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 18
18
19
19
import static com .google .common .truth .Truth .assertThat ;
20
20
21
+ import com .google .cloud .testing .junit4 .MultipleAttemptsRule ;
21
22
import com .google .cloud .videointelligence .v1p2beta1 .ObjectTrackingAnnotation ;
22
23
import com .google .cloud .videointelligence .v1p2beta1 .TextAnnotation ;
23
24
import com .google .cloud .videointelligence .v1p2beta1 .VideoAnnotationResults ;
29
30
import org .junit .After ;
30
31
import org .junit .Assert ;
31
32
import org .junit .Before ;
33
+ import org .junit .Rule ;
32
34
import org .junit .Test ;
33
35
import org .junit .runner .RunWith ;
34
36
import org .junit .runners .JUnit4 ;
@@ -57,6 +59,8 @@ public class DetectIT {
57
59
private PrintStream out ;
58
60
private PrintStream originalPrintStream ;
59
61
62
+ @ Rule public MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule (3 );
63
+
60
64
@ Before
61
65
public void setUp () {
62
66
bout = new ByteArrayOutputStream ();
You can’t perform that action at this time.
0 commit comments