-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
tests in asset/cloud-client are inherently flaky #2715
Labels
api: cloudasset
Issues related to the Cloud Asset Inventory API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: cleanup
An internal cleanup or hygiene concern.
Comments
lesv
added
type: cleanup
An internal cleanup or hygiene concern.
priority: p2
Moderately-important priority. Fix may not be included in next release.
api: cloudasset
Issues related to the Cloud Asset Inventory API.
labels
Apr 21, 2020
lesv
pushed a commit
that referenced
this issue
Apr 21, 2020
Fixes: #2715 Reviewing QuickstartIT, it: * creates a bucket * Writes a list of assets to the bucket * wants to see that bucket in the list of assets * deletes the bucket. It should instead: * Write to a well known bucket w/ gs:/well-known-bucket/UUID/my-assets.txt * See if well-known-bucket is in my-assets.txt This way there isn't a hysteresis problem on creating and knowing about buckets.
gcf-merge-on-green bot
pushed a commit
that referenced
this issue
Apr 22, 2020
Fixes: #2715 Reviewing QuickstartIT, it: * creates a bucket * Writes a list of assets to the bucket * wants to see that bucket in the list of assets * deletes the bucket. It should instead: * Write to a well known bucket w/ gs:/well-known-bucket/UUID/my-assets.txt * See if well-known-bucket is in my-assets.txt This way there isn't a hysteresis problem on creating and knowing about buckets. - [x] `pom.xml` parent set to latest `shared-configuration` - [x] Appropriate changes to README are included in PR - [x] API's need to be enabled to test (tell us) - [x] Environment Variables need to be set (ask us to set them) - [x] Tests pass (`mvn -P lint clean verify`) * (Note- `Checkstyle` passing is required; `Spotbugs`, `ErrorProne`, `PMD`, etc. `ERROR`'s are advisory only)
I don't follow why this test is flaky. The current flow seems like it should work? |
It was creating a bucket, then immediatly dealing w/ it. What was happening was that occasionally, the bucket wasn't yet available. That's fixed now. |
minherz
pushed a commit
that referenced
this issue
Nov 16, 2022
Fixes: #2715 Reviewing QuickstartIT, it: * creates a bucket * Writes a list of assets to the bucket * wants to see that bucket in the list of assets * deletes the bucket. It should instead: * Write to a well known bucket w/ gs:/well-known-bucket/UUID/my-assets.txt * See if well-known-bucket is in my-assets.txt This way there isn't a hysteresis problem on creating and knowing about buckets. - [x] `pom.xml` parent set to latest `shared-configuration` - [x] Appropriate changes to README are included in PR - [x] API's need to be enabled to test (tell us) - [x] Environment Variables need to be set (ask us to set them) - [x] Tests pass (`mvn -P lint clean verify`) * (Note- `Checkstyle` passing is required; `Spotbugs`, `ErrorProne`, `PMD`, etc. `ERROR`'s are advisory only)
minherz
pushed a commit
that referenced
this issue
Nov 17, 2022
Fixes: #2715 Reviewing QuickstartIT, it: * creates a bucket * Writes a list of assets to the bucket * wants to see that bucket in the list of assets * deletes the bucket. It should instead: * Write to a well known bucket w/ gs:/well-known-bucket/UUID/my-assets.txt * See if well-known-bucket is in my-assets.txt This way there isn't a hysteresis problem on creating and knowing about buckets. - [x] `pom.xml` parent set to latest `shared-configuration` - [x] Appropriate changes to README are included in PR - [x] API's need to be enabled to test (tell us) - [x] Environment Variables need to be set (ask us to set them) - [x] Tests pass (`mvn -P lint clean verify`) * (Note- `Checkstyle` passing is required; `Spotbugs`, `ErrorProne`, `PMD`, etc. `ERROR`'s are advisory only)
anguillanneuf
pushed a commit
that referenced
this issue
Dec 5, 2022
Fixes: #2715 Reviewing QuickstartIT, it: * creates a bucket * Writes a list of assets to the bucket * wants to see that bucket in the list of assets * deletes the bucket. It should instead: * Write to a well known bucket w/ gs:/well-known-bucket/UUID/my-assets.txt * See if well-known-bucket is in my-assets.txt This way there isn't a hysteresis problem on creating and knowing about buckets. - [x] `pom.xml` parent set to latest `shared-configuration` - [x] Appropriate changes to README are included in PR - [x] API's need to be enabled to test (tell us) - [x] Environment Variables need to be set (ask us to set them) - [x] Tests pass (`mvn -P lint clean verify`) * (Note- `Checkstyle` passing is required; `Spotbugs`, `ErrorProne`, `PMD`, etc. `ERROR`'s are advisory only)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
api: cloudasset
Issues related to the Cloud Asset Inventory API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: cleanup
An internal cleanup or hygiene concern.
Reviewing QuickstartIT, it:
It should instead:
This way there isn't a hysteresis problem on creating and knowing about buckets.
Related to #2551
The text was updated successfully, but these errors were encountered: