Skip to content

test: Fix flaky Firestore Timestamp field test#18227

Open
bw-yuhogg wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
bw-yuhogg:deletion-ordering-issue
Open

test: Fix flaky Firestore Timestamp field test#18227
bw-yuhogg wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
bw-yuhogg:deletion-ordering-issue

Conversation

@bw-yuhogg

Copy link
Copy Markdown
Contributor

Tests were failing because they incorrectly interpreted a 404 on the project or database as indicating the field might still be around. This can happen if the database is deleted before we check if the timestamp field still exists.

Fixes hashicorp/terraform-provider-google#27593

Release Note Template for Downstream PRs (will be copied)


Tests were failing because they incorrectly interpreted a 404 on the project or database as indicating the field might still be around.
This can happen if the database is deleted before we check if the timestamp field still exists.
@NickChittle

Copy link
Copy Markdown
Contributor

LGTM

@bw-yuhogg bw-yuhogg marked this pull request as ready for review July 9, 2026 14:02
@github-actions github-actions Bot requested a review from rileykarson July 9, 2026 14:03
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

Googlers: For automatic test runs see go/terraform-auto-test-runs.

@rileykarson, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.

You can help make sure that review is quick by doing a self-review and by running impacted tests locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failing test(s): TestAccFirestoreField_firestoreFieldTimestampExample

2 participants