-
Notifications
You must be signed in to change notification settings - Fork 584
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 FAILED_PRECONDITION when writing to a deleted document in a transaction #4257
Conversation
Coverage Report 1Affected Products
Test Logs |
Unit Test Results1 109 tests +1 103 1 093 ✔️ +1 087 48s ⏱️ +31s Results for commit 7e97f34. ± Comparison against base commit 854cba5. This pull request removes 6 and adds 1109 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Size Report 1Affected Products
Test Logs |
firebase-firestore/src/androidTest/java/com/google/firebase/firestore/TransactionTest.java
Outdated
Show resolved
Hide resolved
firebase-firestore/src/androidTest/java/com/google/firebase/firestore/TransactionTest.java
Outdated
Show resolved
Hide resolved
firebase-firestore/src/androidTest/java/com/google/firebase/firestore/TransactionTest.java
Outdated
Show resolved
Hide resolved
firebase-firestore/src/androidTest/java/com/google/firebase/firestore/TransactionTest.java
Outdated
Show resolved
Hide resolved
firebase-firestore/src/androidTest/java/com/google/firebase/firestore/TransactionTest.java
Outdated
Show resolved
Hide resolved
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.
Just a few more minor suggestions. Looks great!
firebase-firestore/src/androidTest/java/com/google/firebase/firestore/TransactionTest.java
Outdated
Show resolved
Hide resolved
firebase-firestore/src/androidTest/java/com/google/firebase/firestore/TransactionTest.java
Outdated
Show resolved
Hide resolved
firebase-firestore/src/androidTest/java/com/google/firebase/firestore/TransactionTest.java
Outdated
Show resolved
Hide resolved
firebase-firestore/src/androidTest/java/com/google/firebase/firestore/TransactionTest.java
Outdated
Show resolved
Hide resolved
Oh also, please remove |
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.
Ship it!
This fix is ported from Web SDK firebase/firebase-js-sdk#6550, and its follow-up PR firebase/firebase-js-sdk#6729.