GeezerVison is showing github.com — Added integration test for invalid change request. by mderka · Pull Request #749 · googleapis/google-cloud-java
Conversation
Also added checks for the exceptions being non-retryable.
Closes #673.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
.records(ImmutableList.of("0.255.1.5"))
|
|
|
.build();
|
|
|
try {
|
|
|
ChangeRequest validChange = ChangeRequest.builder()
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
A couple nits, otherwise looks good.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Also added checks for the exceptions being non-retryable.
Closes googleapis#673.
mderka
added a commit
that referenced
this pull request
Mar 15, 2016
Added integration test for invalid change request.
github-actions Bot
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Jun 29, 2022
…gleapis#1381) (googleapis#749)
* chore: Enable Size-Label bot in all googleapis Java repositories
Auto-label T-shirt size indicator should be assigned on every new pull request in all googleapis Java repositories
* Remove product
Remove product since it is by default true
* add license header
Co-authored-by: Neenu Shaji <[email protected]>
Source-Link: googleapis/synthtool@54b2c6a
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:fc52b202aa298a50a12c64efd04fea3884d867947effe2fa85382a246c09e813
github-actions Bot
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Jun 29, 2022
)
* chore: update dependencies for regapic
* add more dependencies and trigger comment
* update goldens
* fix indentation
* remove duplicate gax-httpjson dependency
* remove duplicated dependencies
Source-Link: googleapis/synthtool@fa54eb2
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:1ec28a46062b19135b11178ceee60231e5f5a92dab454e23ae0aab72cd875906
suztomo
pushed a commit
that referenced
this pull request
Feb 1, 2023
* chore: update java template
* chore: fix tests
* chore: fix tests
* chore: update project
Source-Link: googleapis/synthtool@1155a97
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:b0b1c1c89570e229b1026372a2b8989ba31495007055b8d30178b7648503eefa
chingor13
pushed a commit
that referenced
this pull request
Feb 24, 2026
* fix: timing of stale token refreshes on ComputeEngine
ComputeEngine metadata server has its own token caching mechanism that will return a cached token until the last 5 minutes of its expiration. This has a negative interaction with stale token refreshes because stale token refresh kicks in T-6mins until T-5mins. This will cause every stale refresh to return the same stale token.
This PR updates the timing for ComputeEngineCredentials to start a stale refresh at T-4mins and consider the token expired at T-3 mins. The implementation is a bit noisy because it includes a change OAuth2Credentials to make the thresholds configureable and now that we targeting java8, I migrated to using java8 time data types
* fmt
* fix test
* fix test again
* remove debug code
* comments
suztomo
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Mar 11, 2026
chingor13
pushed a commit
that referenced
this pull request
Mar 12, 2026
* fix: timing of stale token refreshes on ComputeEngine
ComputeEngine metadata server has its own token caching mechanism that will return a cached token until the last 5 minutes of its expiration. This has a negative interaction with stale token refreshes because stale token refresh kicks in T-6mins until T-5mins. This will cause every stale refresh to return the same stale token.
This PR updates the timing for ComputeEngineCredentials to start a stale refresh at T-4mins and consider the token expired at T-3 mins. The implementation is a bit noisy because it includes a change OAuth2Credentials to make the thresholds configureable and now that we targeting java8, I migrated to using java8 time data types
* fmt
* fix test
* fix test again
* remove debug code
* comments
suztomo
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Mar 23, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
api: dns
Issues related to the Cloud DNS API.
cla: yes
This human has signed the Contributor License Agreement.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|