summaryrefslogtreecommitdiff
path: root/jstests/sharding/view_rewrite.js
diff options
context:
space:
mode:
authorEsha Maharishi <esha.maharishi@mongodb.com>2017-05-01 14:53:27 -0400
committerEsha Maharishi <esha.maharishi@mongodb.com>2017-05-01 15:45:54 -0400
commit2ef6bb26e9ba17563afc6979e353c4e8179ba00c (patch)
treea60295c042097648b0311f31c57d8968ea203772 /jstests/sharding/view_rewrite.js
parent362acc0a59396322db5e5b6d845875d83e76cc0e (diff)
downloadmongo-2ef6bb26e9ba17563afc6979e353c4e8179ba00c.tar.gz
SERVER-29029 make views_rewrite.js account for maxTimeMS granularity when checking system profiler
Diffstat (limited to 'jstests/sharding/view_rewrite.js')
-rw-r--r--jstests/sharding/view_rewrite.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/jstests/sharding/view_rewrite.js b/jstests/sharding/view_rewrite.js
index 5e45a3905cc..0dde1aedd5f 100644
--- a/jstests/sharding/view_rewrite.js
+++ b/jstests/sharding/view_rewrite.js
@@ -68,7 +68,7 @@
"ns": coll.getFullName(),
"command.aggregate": coll.getName(),
"command.comment": "agg_rewrite",
- "command.maxTimeMS": 5 * 60 * 1000,
+ "command.maxTimeMS": {"$exists": true},
"command.readConcern": {level: "linearizable"},
"command.pipeline.$mergeCursors": {"$exists": false}
});
@@ -85,7 +85,7 @@
"ns": coll.getFullName(),
"command.aggregate": coll.getName(),
"command.comment": "find_rewrite",
- "command.maxTimeMS": 5 * 60 * 1000,
+ "command.maxTimeMS": {"$exists": true},
"command.readConcern": {level: "linearizable"},
"command.pipeline.$mergeCursors": {"$exists": false}
});
@@ -102,7 +102,7 @@
"ns": coll.getFullName(),
"command.aggregate": coll.getName(),
"command.comment": "count_rewrite",
- "command.maxTimeMS": 5 * 60 * 1000,
+ "command.maxTimeMS": {"$exists": true},
"command.readConcern": {level: "linearizable"},
"command.pipeline.$mergeCursors": {"$exists": false}
});
@@ -120,7 +120,7 @@
"ns": coll.getFullName(),
"command.aggregate": coll.getName(),
"command.comment": "distinct_rewrite",
- "command.maxTimeMS": 5 * 60 * 1000,
+ "command.maxTimeMS": {"$exists": true},
"command.readConcern": {level: "linearizable"},
"command.pipeline.$mergeCursors": {"$exists": false}
});