File tree Expand file tree Collapse file tree
google-cloud-firestore/src/test/java/com/google/cloud/firestore Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -846,7 +846,10 @@ public void writesCompleteInCorrectOrderBeforeFlush() throws Exception {
846846 {
847847 put (
848848 batchWrite (
849- set (LocalFirestoreHelper .SINGLE_FIELD_PROTO , "coll/doc1" ),
849+ set (
850+ LocalFirestoreHelper .SINGLE_FIELD_PROTO ,
851+ Collections .singletonList ("foo" ),
852+ "coll/doc1" ),
850853 set (LocalFirestoreHelper .SINGLE_FIELD_PROTO , "coll/doc2" )),
851854 mergeResponses (successResponse (1 ), failedResponse (Code .ABORTED_VALUE )));
852855 put (
@@ -860,7 +863,7 @@ public void writesCompleteInCorrectOrderBeforeFlush() throws Exception {
860863 final SettableApiFuture <Void > flushComplete = SettableApiFuture .create ();
861864
862865 bulkWriter
863- .set (doc1 , LocalFirestoreHelper .SINGLE_FIELD_MAP )
866+ .set (doc1 , ( Object ) LocalFirestoreHelper .SINGLE_FIELD_MAP , SetOptions . merge () )
864867 .addListener (
865868 new Runnable () {
866869 public void run () {
You can’t perform that action at this time.
0 commit comments