-
Notifications
You must be signed in to change notification settings - Fork 127
Tie up the loose ends from moving Firestore's integration tests into integration_test_internal #351
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
Conversation
…hat the cached Java instance will be cleared. This changelist was previously ported in #329 but the integration testing component was lost in a merge.
…lled from Run() This changelist was previously ported in #330 but the integration testing component was lost in a merge.
This changelist was previously ported in #331 but the integration testing component was lost in a merge. As a benefit, this also fixes the broken promise_android_test.cc tests.
|
It looks like the integration tests are failing to build due to |
|
Ahh, |
It was deleted in cl/329734038 in Sept 2020 but that deletion appears to not have gotten propagated to this GitHub repository).
jonsimantov
left a comment
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.
Looks like two tests are still failing on Android:
[ FAILED ] TypeTest.TestCanReadAndWriteNullFields
[ FAILED ] TypeTest.TestCanReadAndWriteArrayFields
Could you (ideally) fix them or (alternately) skip them with the TODO?
…dcoded document name to prevent tests from interfering with each other
|
@jonsimantov: Those two failing tests (TestCanReadAndWriteNullFields and TestCanReadAndWriteArrayFields) appear to be transient failures. Looking at the code, each test case was using a hardcoded document, leaving room for tests to interfere with each other or even other unrelated parallel test runs interfering with each other. I suspect that is what happened here. To fix, I've change the test code in |
✅ Integration test succeeded!Requested by @dconeybe on commit 0684efc |
When Firestore's integration tests were moved to the
integration_test_internalfolder, there were a few loose ends that needed to be tied. This PR ties them up.Changes in this PR include:
firestore/src/tests/android.firebase_firestore_settings_android_test.ccintointegration_test_internal, which was accidentally missed.Terminate()from~FirebaseFirestore()so that the cached Java instance will be cleared. #329, Port cl/361876089: JniRunnable: Fix a deadlock when Detach() is called from Run() #330, Port cl/362275804: Fix build error in promise_android_test.cc #331).promise_android_test.ccthat were fixed by re-applying Port cl/362275804: Fix build error in promise_android_test.cc #331.