summaryrefslogtreecommitdiff
path: root/jstests/replsets/system_profile_secondary.js
diff options
context:
space:
mode:
authorKevin Albertson <kevin.albertson@10gen.com>2018-04-25 07:53:19 -0400
committerMax Hirschhorn <max.hirschhorn@mongodb.com>2018-04-25 07:53:19 -0400
commit03f89bb1588cfa2592586e4fbabc6eb14edd6591 (patch)
tree1275b019dd4dfbbd2a05598533192e1cbc2f133f /jstests/replsets/system_profile_secondary.js
parentda6a8e6c7842e8f17acf89bfbf7a89384d5cc49d (diff)
downloadmongo-03f89bb1588cfa2592586e4fbabc6eb14edd6591.tar.gz
SERVER-25640 terminate running processes in jstests
(cherry picked from commit c556e377094792e7253a95cb5fedcd703a99bf2c)
Diffstat (limited to 'jstests/replsets/system_profile_secondary.js')
-rw-r--r--jstests/replsets/system_profile_secondary.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/replsets/system_profile_secondary.js b/jstests/replsets/system_profile_secondary.js
index 69ab259f191..7c62e126323 100644
--- a/jstests/replsets/system_profile_secondary.js
+++ b/jstests/replsets/system_profile_secondary.js
@@ -22,4 +22,5 @@
jsTestLog('Check the query is in the profile and turn profiling off.');
assert.eq(numProfileEntries(secondaryDB.doesntexist), 1, 'expected a single profile entry');
assert.commandWorked(secondaryDB.runCommand({profile: 0}));
+ rst.stopSet();
})();