diff options
author | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2018-02-14 17:27:55 -0500 |
---|---|---|
committer | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2018-02-14 17:27:55 -0500 |
commit | 7585ab8e5a5fd1b1c2f5926a98cf12387d717fa9 (patch) | |
tree | 317e8a9862999dff5502b5f8cf2d50a4b562e489 /jstests/core/operation_latency_histogram.js | |
parent | 5217cd27eabdc090baecf25e9b6d33e5c2eee6ad (diff) | |
download | mongo-7585ab8e5a5fd1b1c2f5926a98cf12387d717fa9.tar.gz |
SERVER-32691 Add write_concern_majority_passthrough.yml test suite.
Also adds support for using replica set connection strings in resmoke.py
without making all nodes electable.
(cherry picked from commit 264d971842cffdf8b4f80def1d90241f132345b7)
Diffstat (limited to 'jstests/core/operation_latency_histogram.js')
-rw-r--r-- | jstests/core/operation_latency_histogram.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/jstests/core/operation_latency_histogram.js b/jstests/core/operation_latency_histogram.js index 1e3f1a59b95..947a8be6520 100644 --- a/jstests/core/operation_latency_histogram.js +++ b/jstests/core/operation_latency_histogram.js @@ -1,4 +1,10 @@ // Checks that histogram counters for collections are updated as we expect. +// +// This test attempts to perform write operations and get latency statistics using the $collStats +// stage. The former operation must be routed to the primary in a replica set, whereas the latter +// may be routed to a secondary. +// +// @tags: [assumes_read_preference_unchanged] (function() { "use strict"; |