File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
appengine-java8/firebase-tictactoe/src/test/java/com/example/appengine/firetactoe
pubsublite/streaming-analytics/src/test/java/examples Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 34
34
import com .google .appengine .tools .development .testing .LocalURLFetchServiceTestConfig ;
35
35
import com .google .appengine .tools .development .testing .LocalUserServiceTestConfig ;
36
36
import com .google .cloud .datastore .QueryResults ;
37
+ import com .google .cloud .testing .junit4 .MultipleAttemptsRule ;
37
38
import com .google .common .collect .ImmutableMap ;
38
39
import com .googlecode .objectify .Objectify ;
39
40
import com .googlecode .objectify .ObjectifyService ;
49
50
import org .junit .After ;
50
51
import org .junit .Before ;
51
52
import org .junit .BeforeClass ;
53
+ import org .junit .Rule ;
52
54
import org .junit .Test ;
53
55
import org .junit .runner .RunWith ;
54
56
import org .junit .runners .JUnit4 ;
59
61
/** Unit tests for {@link TicTacToeServlet}. */
60
62
@ RunWith (JUnit4 .class )
61
63
public class TicTacToeServletTest {
64
+ @ Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule (3 );
65
+
62
66
private static final String USER_EMAIL = "whisky@tangofoxtr.ot" ;
63
67
private static final String USER_ID = "whiskytangofoxtrot" ;
64
68
private static final String FIREBASE_DB_URL = "http://firebase.com/dburl" ;
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ public class PubsubliteToGcsIT {
67
67
@ Rule public final TestPipeline testPipeline = TestPipeline .create ();
68
68
69
69
private static final String projectId = System .getenv ("GOOGLE_CLOUD_PROJECT" );
70
- private static final String cloudRegion = "us-east1 " ;
70
+ private static final String cloudRegion = "us-central1 " ;
71
71
private static final char zoneId = 'b' ;
72
72
private static final String suffix = UUID .randomUUID ().toString ().substring (0 , 6 );
73
73
private static final String topicId = "pubsublite-streaming-analytics-topic-" + suffix ;
You can’t perform that action at this time.
0 commit comments