spec/support/command_monitoring/find.yml in mongo-2.5.3 vs spec/support/command_monitoring/find.yml in mongo-2.6.0
- old
+ new
@@ -40,38 +40,34 @@
name: "find"
read_preference: { mode: "primaryPreferred" }
arguments:
filter: { _id: { $gt: 1 } }
sort: { _id: 1 }
- skip: 2
+ skip: {"$numberLong": "2"}
modifiers:
$comment: "test"
$hint: { _id: 1 }
$max: { _id: 6 }
- $maxScan: 5000
$maxTimeMS: 6000
$min: { _id: 0 }
$returnKey: false
$showDiskLoc: false
- $snapshot: false
expectations:
-
command_started_event:
command:
find: *collection_name
filter: { _id: { $gt: 1 } }
sort: { _id: 1 }
- skip: 2
+ skip: {"$numberLong": "2"}
comment: "test"
hint: { _id: 1 }
max: { _id: 6 }
- maxScan: 5000
maxTimeMS: 6000
min: { _id: 0 }
returnKey: false
showRecordId: false
- snapshot: false
command_name: "find"
database_name: *database_name
-
command_succeeded_event:
reply:
@@ -88,19 +84,19 @@
operation:
name: "find"
arguments:
filter: { _id: { $gte: 1 }}
sort: { _id: 1 }
- batchSize: 3
+ batchSize: {"$numberLong": "3"}
expectations:
-
command_started_event:
command:
find: *collection_name
filter: { _id: { $gte : 1 }}
sort: { _id: 1 }
- batchSize: 3
+ batchSize: {"$numberLong": "3"}
command_name: "find"
database_name: *database_name
-
command_succeeded_event:
reply:
@@ -116,11 +112,11 @@
-
command_started_event:
command:
getMore: { $numberLong: "42" }
collection: *collection_name
- batchSize: 3
+ batchSize: {"$numberLong": "3"}
command_name: "getMore"
database_name: *database_name
-
command_succeeded_event:
reply:
@@ -138,21 +134,21 @@
operation:
name: "find"
arguments:
filter: { _id: { $gte: 1 }}
sort: { _id: 1 }
- batchSize: 3
- limit: 4
+ batchSize: {"$numberLong": "3"}
+ limit: {"$numberLong": "4"}
expectations:
-
command_started_event:
command:
find: *collection_name
filter: { _id: { $gte : 1 }}
sort: { _id: 1 }
- batchSize: 3
- limit: 4
+ batchSize: {"$numberLong": "3"}
+ limit: {"$numberLong": "4"}
command_name: "find"
database_name: *database_name
-
command_succeeded_event:
reply:
@@ -168,11 +164,11 @@
-
command_started_event:
command:
getMore: { $numberLong: "42" }
collection: *collection_name
- batchSize: 1
+ batchSize: { $numberLong: "1" }
command_name: "getMore"
database_name: *database_name
-
command_succeeded_event:
reply:
@@ -199,26 +195,28 @@
- { $numberLong: "42" }
command_name: "killCursors"
-
description: "A successful find event with a getmore and the server kills the cursor"
ignore_if_server_version_less_than: "3.1"
+ ignore_if_topology_type:
+ - "sharded"
operation:
name: "find"
arguments:
filter: { _id: { $gte: 1 }}
sort: { _id: 1 }
- batchSize: 3
- limit: 4
+ batchSize: {"$numberLong": "3"}
+ limit: {"$numberLong": "4"}
expectations:
-
command_started_event:
command:
find: *collection_name
filter: { _id: { $gte : 1 }}
sort: { _id: 1 }
- batchSize: 3
- limit: 4
+ batchSize: {"$numberLong": "3"}
+ limit: {"$numberLong": "4"}
command_name: "find"
database_name: *database_name
-
command_succeeded_event:
reply:
@@ -234,10 +232,10 @@
-
command_started_event:
command:
getMore: { $numberLong: "42" }
collection: *collection_name
- batchSize: 3
+ batchSize: { $numberLong: "1" }
command_name: "getMore"
database_name: *database_name
-
command_succeeded_event:
reply: