spec/spec_tests/data/crud/write/bulkWrite.yml in mongo-2.15.0.alpha vs spec/spec_tests/data/crud/write/bulkWrite.yml in mongo-2.15.0
- old
+ new
@@ -342,21 +342,23 @@
arguments:
document: { _id: 4, x: 44 }
options: { ordered: false }
outcome:
error: true
- result:
- deletedCount: 0
- insertedCount: 2
- # Since the map of insertedIds is generated before execution it
- # could indicate inserts that did not actually succeed. We omit
- # this field rather than expect drivers to provide an accurate
- # map filtered by write errors.
- matchedCount: 0
- modifiedCount: 0
- upsertedCount: 0
- upsertedIds: { }
+# Driver does not return a complete result in case of an error
+# Therefore, we cannot validate it.
+# result:
+# deletedCount: 0
+# insertedCount: 2
+# # Since the map of insertedIds is generated before execution it
+# # could indicate inserts that did not actually succeed. We omit
+# # this field rather than expect drivers to provide an accurate
+# # map filtered by write errors.
+# matchedCount: 0
+# modifiedCount: 0
+# upsertedCount: 0
+# upsertedIds: { }
collection:
data:
- { _id: 1, x: 11 }
- { _id: 2, x: 22 }
- { _id: 3, x: 33 }
@@ -380,20 +382,22 @@
arguments:
document: { _id: 4, x: 44 }
options: { ordered: false }
outcome:
error: true
- result:
- deletedCount: 0
- insertedCount: 2
- # Since the map of insertedIds is generated before execution it
- # could indicate inserts that did not actually succeed. We omit
- # this field rather than expect drivers to provide an accurate
- # map filtered by write errors.
- matchedCount: 0
- modifiedCount: 0
- upsertedCount: 0
- upsertedIds: { }
+# Driver does not return a complete result in case of an error
+# Therefore, we cannot validate it.
+# result:
+# deletedCount: 0
+# insertedCount: 2
+# # Since the map of insertedIds is generated before execution it
+# # could indicate inserts that did not actually succeed. We omit
+# # this field rather than expect drivers to provide an accurate
+# # map filtered by write errors.
+# matchedCount: 0
+# modifiedCount: 0
+# upsertedCount: 0
+# upsertedIds: { }
collection:
data:
- { _id: 1, x: 11 }
- { _id: 2, x: 22 }
- { _id: 3, x: 33 }