diff options
Diffstat (limited to 'jstests/dur')
-rwxr-xr-x | jstests/dur/dur1.js | 2 | ||||
-rwxr-xr-x | jstests/dur/dur1_tool.js | 2 | ||||
-rwxr-xr-x | jstests/dur/manyRestart.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/jstests/dur/dur1.js b/jstests/dur/dur1.js index 4668b4921e2..a4cf88cf22e 100755 --- a/jstests/dur/dur1.js +++ b/jstests/dur/dur1.js @@ -62,7 +62,7 @@ function work() { d.a.update({ _id: 4 }, { $inc: { x: 1} }); // try building an index. however, be careful as object id's in system.indexes would vary, so we do it manually: - d.system.indexes.insert({ _id: 99, ns: "test.a", key: { x: 1 }, name: "x_1", v: 0 }); + d.system.indexes.insert({ _id: 99, ns: "test.a", key: { x: 1 }, name: "x_1" }); log("endwork");
return d; diff --git a/jstests/dur/dur1_tool.js b/jstests/dur/dur1_tool.js index f86e643b6f7..f0c2916012d 100755 --- a/jstests/dur/dur1_tool.js +++ b/jstests/dur/dur1_tool.js @@ -62,7 +62,7 @@ function work() { d.a.update({ _id: 4 }, { $inc: { x: 1} }); // try building an index. however, be careful as object id's in system.indexes would vary, so we do it manually: - d.system.indexes.insert({ _id: 99, ns: "test.a", key: { x: 1 }, name: "x_1", v: 0 }); + d.system.indexes.insert({ _id: 99, ns: "test.a", key: { x: 1 }, name: "x_1" }); log("endwork");
return d; } diff --git a/jstests/dur/manyRestart.js b/jstests/dur/manyRestart.js index d2e864a708b..fe48de9beec 100755 --- a/jstests/dur/manyRestart.js +++ b/jstests/dur/manyRestart.js @@ -62,7 +62,7 @@ function work() { d.a.update({ _id: 4 }, { $inc: { x: 1} }); // try building an index. however, be careful as object id's in system.indexes would vary, so we do it manually: - d.system.indexes.insert({ _id: 99, ns: "test.a", key: { x: 1 }, name: "x_1", v: 0 }); + d.system.indexes.insert({ _id: 99, ns: "test.a", key: { x: 1 }, name: "x_1" }); log("endwork"); return d; } |