-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: update retries for Notifications #1734
Conversation
google-cloud-storage/src/test/java/com/google/cloud/storage/conformance/retry/CtxFunctions.java
Outdated
Show resolved
Hide resolved
google-cloud-storage/src/test/java/com/google/cloud/storage/conformance/retry/State.java
Outdated
Show resolved
Hide resolved
google-cloud-storage/src/test/java/com/google/cloud/storage/conformance/retry/State.java
Outdated
Show resolved
Hide resolved
google-cloud-storage/src/main/java/com/google/cloud/storage/StorageImpl.java
Outdated
Show resolved
Hide resolved
google-cloud-storage/src/main/java/com/google/cloud/storage/StorageImpl.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the dependencies build you'll need to declare the dependency on the pubsub protos module. When you do that, can you also add it to the renovate config[1] as a test dep (so we don't trigger a release when it's bumped)?
[1] https://github.com/googleapis/java-storage/blob/main/renovate.json#L74-L76
@@ -151,6 +151,7 @@ public static Collection<Object[]> testCases() throws IOException { | |||
.setHost(TEST_BENCH.getBaseUri().replaceAll("https?://", "")) | |||
.setTestAllowFilter( | |||
RetryTestCaseResolver.includeAll() | |||
.and(RetryTestCaseResolver.specificMappings(246, 247, 248, 249)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't forget to remove this predicate before merging
Warning: This pull request is touching the following templated files:
|
Adds retry algorithms for notifications to HttpRetryAlgorithmManager.java, edits StorageImpl to use those algorithms, and adds notification retry conformance tests