-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
api: firestoreIssues related to the Firestore API.Issues related to the Firestore API.flakytestingtype: processA process-related concern. May include testing, release, or the like.A process-related concern. May include testing, release, or the like.
Description
_____________________________ test_collection_add ______________________________
client = <google.cloud.firestore_v1.client.Client object at 0x7fb9ca171ad0>
cleanup = <built-in method append of list object at 0x7fb9c7c0acb0>
def test_collection_add(client, cleanup):
collection1 = client.collection("collek")
collection2 = client.collection("collek", "shun", "child")
collection3 = client.collection("collek", "table", "child")
explicit_doc_id = "hula" + unique_resource_id("-")
> assert set(collection1.list_documents()) == set()
E assert set([<google....fb9c7c06290>]) == set([])
E Extra items in the left set:
E <google.cloud.firestore_v1.document.DocumentReference object at 0x7fb9c7c06290>
E Full diff:
E - set([<google.cloud.firestore_v1.document.DocumentReference object at 0x7fb9c7c06290>])
E + set([])This test should be using a unique / name-mangled collection ID, in order to prevent collision with CI running for other PRs.
Metadata
Metadata
Assignees
Labels
api: firestoreIssues related to the Firestore API.Issues related to the Firestore API.flakytestingtype: processA process-related concern. May include testing, release, or the like.A process-related concern. May include testing, release, or the like.