Skip to content

Firestore ArraysTransformTests flake on CI #7

@ashwinraghav

Description

@ashwinraghav

It seems frequently the case that a couple of integration tests on Firestore flake out on CI. It is the same couple of tests that fail each time (I think?), but I am not sure if that is just symptomatic of a broader issue.

Example

I0906 21:31:45.702] com.google.firebase.firestore.ArrayTransformsTest > removeFromArrayViaSetMerge[test(AVD) - 8.0.0] FAILED 
I0906 21:31:45.702] 	java.lang.RuntimeException: java.util.concurrent.TimeoutException: Timed out waiting for Task
I0906 21:31:45.702] 	at com.google.firebase.firestore.testutil.IntegrationTestUtil.waitFor(IntegrationTestUtil.java:285)
I0906 21:32:16.601] 
I0906 21:32:16.602] com.google.firebase.firestore.ArrayTransformsTest > createDocumentWithArrayUnion[test(AVD) - 8.0.0] FAILED 
I0906 21:32:16.602] 	java.lang.RuntimeException: java.util.concurrent.TimeoutException: Timed out waiting for Task
I0906 21:32:16.602] 	at com.google.firebase.firestore.testutil.IntegrationTestUtil.waitFor(IntegrationTestUtil.java:285)

@vkryachko If it seems like it is the nature of these tests (as opposed to the nature of CI) that cause these failures, we could consider @schmidt-sebastian 's approach in firebase-database to retry flaky tests. wdyt?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions