Skip to content

Commit 4ea4b34

Browse files
author
Ajay Kannan
committed
---
yaml --- r: 965 b: refs/heads/master c: 30d0036 h: refs/heads/master i: 963: f59738a v: v3
1 parent 1afc260 commit 4ea4b34

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
2-
refs/heads/master: a1059d85b308df75860061b7d13805df3437fc22
2+
refs/heads/master: 30d00360c1917e8754c655e3524f68a57deaf07a
33
refs/heads/travis: 0fa997e2fc9c6b61b2d91e6d163655aae67d44b6
44
refs/heads/gh-pages: 5a10432ecc75f29812e33a8236c900379509fe99

trunk/gcloud-java-storage/src/main/java/com/google/gcloud/storage/testing/RemoteGcsHelper.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ public class RemoteGcsHelper {
5050
private static final String BUCKET_NAME_PREFIX = "gcloud-test-bucket-temp-";
5151
private static final String PROJECT_ID_ENV_VAR = "GCLOUD_TESTS_PROJECT_ID";
5252
private static final String PRIVATE_KEY_ENV_VAR = "GCLOUD_TESTS_KEY";
53-
5453
private final StorageOptions options;
5554

5655
private RemoteGcsHelper(StorageOptions options) {
@@ -127,7 +126,13 @@ public static RemoteGcsHelper create(String projectId, String keyPath, Option...
127126
StorageOptions storageOptions = StorageOptions.builder()
128127
.authCredentials(AuthCredentials.createForJson(keyFileStream))
129128
.projectId(projectId)
130-
.retryParams(RetryParams.getDefaultInstance())
129+
.retryParams(RetryParams.builder()
130+
.retryMaxAttempts(10)
131+
.retryMinAttempts(6)
132+
.maxRetryDelayMillis(30000)
133+
.totalRetryPeriodMillis(120000)
134+
.initialRetryDelayMillis(250)
135+
.build())
131136
.build();
132137
return new RemoteGcsHelper(storageOptions);
133138
} catch (FileNotFoundException ex) {

trunk/utilities/after_success.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ if [ "${TRAVIS_JDK_VERSION}" == "oraclejdk7" -a "${TRAVIS_BRANCH}" == "master" -
3030

3131
cd ..
3232
utilities/update_docs_version.sh # Update version in READMEs
33-
mvn deploy -DskipTests=true --settings target/travis/settings.xml -P sign-deploy
33+
mvn deploy --settings target/travis/settings.xml -P sign-deploy
3434
else
3535
mvn deploy -DskipTests=true -Dgpg.skip=true --settings target/travis/settings.xml
3636
fi

0 commit comments

Comments
 (0)