Failing to add data to firestore emulator : context deadline exceeded

155 views
Skip to first unread message

FirebaseNoob

unread,
Oct 22, 2021, 10:56:04 AM10/22/21
to Firebase Google Group
So i am trying to use this, to run unit tests with firestore . I am using the gcloud commands to start up the emulator. It seems everything is running fine until i try to add data to the emulator. I get the error :

Failed adding data : context deadline exceeded

The part that panics : 

```

col := s.firestoreClient.Collection(s.collectionID)

_, _, err := col.Add(s.ctx,&data{})

```  




Reply all
Reply to author
Forward
0 new messages