Fixed attached disk update test @ beta #1692
Merged
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.
Our beta attached disk test has been failing for a while, but it's been working in GA. I'd noticed it as flaky previously- it seemed to fail on and off, but without a clear indicator of why in the error- but never dug in too deep. The error message seemed like an API response! Turns out, it fails consistently at beta and only for unrelated reasons (quota, mostly) at GA.
Turns out, we had a regex that hardcoded
v1
. Instead of preserving the regex, let's reuse some code from elsewhere to parse the values from the self link so it's less brittle to different versions / project id formats.[all]
[terraform]
[terraform-beta]
[ansible]
[inspec]