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
fix(firestore): Cleanup integration test resources #8057
Conversation
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.
Two minor comments. Big picture LGTM
firestore/integration_test.go
Outdated
} | ||
} | ||
} | ||
|
||
func cleanupIntegrationTest() { | ||
if iClient != nil { | ||
// TODO(jba): delete everything in integrationColl. |
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.
Does this TODO have any significance? If not, I'd suggest deleting it since jba no longer works on this project.
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.
Removed todo. Added cleanup of collection
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.
Two minor comments. Big picture LGMT
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.
Two minor comments. Big picture LGMT
This is good to go in my view. |
…nto agg-add-trace * 'agg-add-trace' of github.com:xwkuang5/google-cloud-go: Fix formating. chore(firestore): Add bloom filter related comments (googleapis#8079) fix(firestore): Cleanup integration test resources (googleapis#8057) fix(datastore): Handling nil slices in save and query (googleapis#8043)
Fixing #7998
Builds are failing with below error because composite indexes weren't getting cleared:
"You have reached the maximum number of indexes per database. Please delete an unused index and try again."