summaryrefslogtreecommitdiff
path: root/jstests/core/sort3.js
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2015-07-27 14:46:08 -0400
committerDavid Storch <david.storch@10gen.com>2015-07-28 16:21:12 -0400
commit645e9ad9dba32abf96a4d58abbf5c6be205c57cc (patch)
tree39f012c7ea25d4b39571751e82d64e9823041fe9 /jstests/core/sort3.js
parent7ac64c6f36f9aaea0367fe67a29a08ec1c6e584a (diff)
downloadmongo-645e9ad9dba32abf96a4d58abbf5c6be205c57cc.tar.gz
SERVER-17544 update tests depending on OP_QUERY/OP_GET_MORE specific behavior
--Use of 'orderby' is not allowed for find command. --Passing a negative value for .batchSize() is no longer legal. --Find command accepts 64-bit skip and limit values. --Slow log line format has changed for find command.
Diffstat (limited to 'jstests/core/sort3.js')
-rw-r--r--jstests/core/sort3.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/jstests/core/sort3.js b/jstests/core/sort3.js
index b79f1f60381..f65b7445903 100644
--- a/jstests/core/sort3.js
+++ b/jstests/core/sort3.js
@@ -1,4 +1,3 @@
-
t = db.sort3;
t.drop();
@@ -10,7 +9,3 @@ assert.eq( "1,5,3" , t.find().toArray().map( function(z){ return z.a; } ) );
assert.eq( "1,3,5" , t.find().sort( { a : 1 } ).toArray().map( function(z){ return z.a; } ) );
assert.eq( "5,3,1" , t.find().sort( { a : -1 } ).toArray().map( function(z){ return z.a; } ) );
-
-assert.eq( "1,3,5" , t.find( { query : {} , orderby : { a : 1 } } ).toArray().map( function(z){ return z.a; } ) );
-assert.eq( "5,3,1" , t.find( { query : {} , orderby : { a : -1 } } ).toArray().map( function(z){ return z.a; } ) );
-