summaryrefslogtreecommitdiff
path: root/jstests/core/top.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/top.js')
-rw-r--r--jstests/core/top.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/jstests/core/top.js b/jstests/core/top.js
index 1aff2a4136b..a8f72091896 100644
--- a/jstests/core/top.js
+++ b/jstests/core/top.js
@@ -1,5 +1,11 @@
/**
* 1. check top numbers are correct
+ *
+ * This test attempts to perform read operations and get statistics using the top command. The
+ * former operation may be routed to a secondary in the replica set, whereas the latter must be
+ * routed to the primary.
+ *
+ * @tags: [assumes_read_preference_unchanged]
*/
var name = "toptest";