Skip to content

Commit 572ad0a

Browse files
averikitschShabirmean
authored andcommitted
fix: update nightly failures
1 parent 03b7d03 commit 572ad0a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

appengine-java8/firebase-tictactoe/src/test/java/com/example/appengine/firetactoe/TicTacToeServletTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
import com.google.appengine.tools.development.testing.LocalURLFetchServiceTestConfig;
3535
import com.google.appengine.tools.development.testing.LocalUserServiceTestConfig;
3636
import com.google.cloud.datastore.QueryResults;
37+
import com.google.cloud.testing.junit4.MultipleAttemptsRule;
3738
import com.google.common.collect.ImmutableMap;
3839
import com.googlecode.objectify.Objectify;
3940
import com.googlecode.objectify.ObjectifyService;
@@ -49,6 +50,7 @@
4950
import org.junit.After;
5051
import org.junit.Before;
5152
import org.junit.BeforeClass;
53+
import org.junit.Rule;
5254
import org.junit.Test;
5355
import org.junit.runner.RunWith;
5456
import org.junit.runners.JUnit4;
@@ -59,6 +61,8 @@
5961
/** Unit tests for {@link TicTacToeServlet}. */
6062
@RunWith(JUnit4.class)
6163
public class TicTacToeServletTest {
64+
@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(3);
65+
6266
private static final String USER_EMAIL = "whisky@tangofoxtr.ot";
6367
private static final String USER_ID = "whiskytangofoxtrot";
6468
private static final String FIREBASE_DB_URL = "http://firebase.com/dburl";

pubsublite/streaming-analytics/src/test/java/examples/PubsubliteToGcsIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public class PubsubliteToGcsIT {
6767
@Rule public final TestPipeline testPipeline = TestPipeline.create();
6868

6969
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";
7171
private static final char zoneId = 'b';
7272
private static final String suffix = UUID.randomUUID().toString().substring(0, 6);
7373
private static final String topicId = "pubsublite-streaming-analytics-topic-" + suffix;

0 commit comments

Comments
 (0)