summaryrefslogtreecommitdiff
path: root/jstests/parallel
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2010-12-28 10:46:36 -0800
committerAaron <aaron@10gen.com>2010-12-28 10:46:36 -0800
commit0512c2ad13dc9c4c7bb5e1ed5d17f697bff9842b (patch)
tree5cc79e94ce595730efa3a905a0d9fe19f0f40796 /jstests/parallel
parentf6f605355d97511cd60ba9cf34433fe791f0ec50 (diff)
downloadmongo-0512c2ad13dc9c4c7bb5e1ed5d17f697bff9842b.tar.gz
fix incorrect modifier syntax in parallel repl test
Diffstat (limited to 'jstests/parallel')
-rw-r--r--jstests/parallel/repl.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/parallel/repl.js b/jstests/parallel/repl.js
index cb9b770610b..919b0d795ac 100644
--- a/jstests/parallel/repl.js
+++ b/jstests/parallel/repl.js
@@ -1,4 +1,4 @@
-// test all operations in parallel
+// test basic operations in parallel, with replication
baseName = "parallel_repl"
@@ -25,7 +25,7 @@ for( id = 0; id < 10; ++id ) {
g.addRemove( { _id:Random.randInt( 1000 ) } );
break;
case 2: // update
- g.addUpdate( {_id:{$lt:1000}}, {a:{$inc:5}} );
+ g.addUpdate( {_id:{$lt:1000}}, {$inc:{a:5}} );
break;
default:
assert( false, "Invalid op code" );