summaryrefslogtreecommitdiff
path: root/jstests/core/explain_find_and_modify.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/explain_find_and_modify.js')
-rw-r--r--jstests/core/explain_find_and_modify.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/jstests/core/explain_find_and_modify.js b/jstests/core/explain_find_and_modify.js
index 2bea591def8..5e385ff3743 100644
--- a/jstests/core/explain_find_and_modify.js
+++ b/jstests/core/explain_find_and_modify.js
@@ -1,6 +1,6 @@
// Cannot implicitly shard accessed collections because of collection existing when none
// expected.
-// @tags: [assumes_no_implicit_collection_creation_after_drop]
+// @tags: [assumes_no_implicit_collection_creation_after_drop,requires_fcv_47]
/**
* Test correctness of explaining findAndModify. Asserts the following:
@@ -121,7 +121,7 @@ var testCases = [
executionStats: {
nReturned: 0,
executionSuccess: true,
- executionStages: {stage: "UPDATE", nWouldModify: 0, wouldInsert: false}
+ executionStages: {stage: "UPDATE", nWouldModify: 0, nWouldUpsert: 0}
}
}
},
@@ -132,7 +132,7 @@ var testCases = [
executionStats: {
nReturned: 0,
executionSuccess: true,
- executionStages: {stage: "UPDATE", nWouldModify: 0, wouldInsert: false}
+ executionStages: {stage: "UPDATE", nWouldModify: 0, nWouldUpsert: 0}
}
}
},
@@ -143,7 +143,7 @@ var testCases = [
executionStats: {
nReturned: 1,
executionSuccess: true,
- executionStages: {stage: "UPDATE", nWouldModify: 1, wouldInsert: false}
+ executionStages: {stage: "UPDATE", nWouldModify: 1, nWouldUpsert: 0}
}
}
},
@@ -154,7 +154,7 @@ var testCases = [
executionStats: {
nReturned: 1,
executionSuccess: true,
- executionStages: {stage: "UPDATE", nWouldModify: 1, wouldInsert: false}
+ executionStages: {stage: "UPDATE", nWouldModify: 1, nWouldUpsert: 0}
}
}
},
@@ -166,7 +166,7 @@ var testCases = [
executionStats: {
nReturned: 0,
executionSuccess: true,
- executionStages: {stage: "UPDATE", nWouldModify: 0, wouldInsert: true}
+ executionStages: {stage: "UPDATE", nWouldModify: 0, nWouldUpsert: 1}
}
}
},
@@ -177,7 +177,7 @@ var testCases = [
executionStats: {
nReturned: 1,
executionSuccess: true,
- executionStages: {stage: "UPDATE", nWouldModify: 0, wouldInsert: true}
+ executionStages: {stage: "UPDATE", nWouldModify: 0, nWouldUpsert: 1}
}
}
},
@@ -188,7 +188,7 @@ var testCases = [
executionStats: {
nReturned: 1,
executionSuccess: true,
- executionStages: {stage: "UPDATE", nWouldModify: 1, wouldInsert: false}
+ executionStages: {stage: "UPDATE", nWouldModify: 1, nWouldUpsert: 0}
}
}
}