summaryrefslogtreecommitdiff
path: root/jstests/replsets/system_profile_secondary.js
diff options
context:
space:
mode:
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();
})();