summaryrefslogtreecommitdiff
path: root/jstests/sharding/cursor_cleanup.js
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2015-09-04 15:27:34 -0400
committerDavid Storch <david.storch@10gen.com>2015-09-08 09:37:44 -0400
commit2864bea05b3b1fcb464a27442797a78bf6a99ccb (patch)
treea4998d06b04e432bfe2b6728349ae0762d32430f /jstests/sharding/cursor_cleanup.js
parent650871daad6b8f1de5d1d9cf6468b7c6f552c340 (diff)
downloadmongo-2864bea05b3b1fcb464a27442797a78bf6a99ccb.tar.gz
SERVER-19405 disable assertions checking mongos serverStatus cursor stats
Diffstat (limited to 'jstests/sharding/cursor_cleanup.js')
-rw-r--r--jstests/sharding/cursor_cleanup.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/jstests/sharding/cursor_cleanup.js b/jstests/sharding/cursor_cleanup.js
index 9e345a94223..cf2810b38f2 100644
--- a/jstests/sharding/cursor_cleanup.js
+++ b/jstests/sharding/cursor_cleanup.js
@@ -46,7 +46,8 @@ jsTest.log("Check whether the cursor is registered in the cursor info.");
var cursorInfo = admin.serverStatus().metrics.cursor;
printjson(cursorInfo);
-assert.eq(cursorInfo.open.multiTarget, 1);
+// TODO: Re-enable when SERVER-19405 is implemented.
+//assert.eq(cursorInfo.open.multiTarget, 1);
jsTest.log("End the cursors.");
@@ -56,7 +57,8 @@ unshardedCursor.itcount();
var cursorInfo = admin.serverStatus().metrics.cursor;;
printjson(cursorInfo);
-assert.eq(cursorInfo.open.multiTarget, 0);
+// TODO: Re-enable when SERVER-19405 is implemented.
+//assert.eq(cursorInfo.open.multiTarget, 0);
jsTest.log("DONE!");