KEMBAR78
test: Skip aggregateQueryInATransactionShouldRespectReadTime when run against the emulator by dconeybe · Pull Request #1044 · googleapis/java-firestore · GitHub
Skip to content

Conversation

@dconeybe
Copy link
Contributor

The test aggregateQueryInATransactionShouldRespectReadTime fails when run against the Firestore emulator due to a known issue: b/220918135 (When creating a new read-only or read-write transaction, the Firestore emulator creates the transaction at the current time regardless of the user's specified TransactionsOptions. In the case of read-only transaction, if the user specifies the read_time, that will not be honoured. If the user specifies a retry_transaction, that will not be honored).

Instead of letting the test fail, this PR has it be skipped with an appropriate error message.

@dconeybe dconeybe added the api: firestore Issues related to the googleapis/java-firestore API. label Sep 22, 2022
@dconeybe dconeybe self-assigned this Sep 22, 2022
@dconeybe
Copy link
Contributor Author

It looks like b/220918135 is actually fixed. I've inquired to see if it will be released any time soon.

@dconeybe
Copy link
Contributor Author

cl/472994416, once submitted, will release a new version of the Firestore emulator with a fix for b/220918135.

@dconeybe dconeybe marked this pull request as ready for review September 22, 2022 16:13
@dconeybe dconeybe requested a review from a team as a code owner September 22, 2022 16:13
dconeybe added a commit that referenced this pull request Sep 23, 2022
…ctionShouldRespectReadTime when run against the emulator to its own PR: #1044
@dconeybe dconeybe merged commit dabe35a into main Sep 23, 2022
@dconeybe dconeybe deleted the dconeybe/SkipAggregateQueryInATransactionShouldRespectReadTimeOnEmulator branch September 23, 2022 15:21
cherylEnkidu pushed a commit that referenced this pull request Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: firestore Issues related to the googleapis/java-firestore API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants