diff options
author | Kevin Albertson <kevin.albertson@10gen.com> | 2018-01-24 11:44:17 -0500 |
---|---|---|
committer | Kevin Albertson <kevin.albertson@10gen.com> | 2018-02-20 09:25:18 -0500 |
commit | 8821cdb5508f8a26c025b3e0124903e9ae64c479 (patch) | |
tree | c14704442eb088a67d4dfd23c3feca569062a95b /src/mongo/shell/shell_utils_launcher.h | |
parent | 7f5f161abc0355b71823be7b768075547f30a0cb (diff) | |
download | mongo-8821cdb5508f8a26c025b3e0124903e9ae64c479.tar.gz |
SERVER-25640 check if jstests leave unterminated processes
Diffstat (limited to 'src/mongo/shell/shell_utils_launcher.h')
-rw-r--r-- | src/mongo/shell/shell_utils_launcher.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/shell/shell_utils_launcher.h b/src/mongo/shell/shell_utils_launcher.h index 0b79180fc19..1a38b21c7b1 100644 --- a/src/mongo/shell/shell_utils_launcher.h +++ b/src/mongo/shell/shell_utils_launcher.h @@ -56,6 +56,9 @@ struct MongoProgramScope { }; int KillMongoProgramInstances(); +// Returns true if there are running child processes. +std::vector<ProcessId> getRunningMongoChildProcessIds(); + void installShellUtilsLauncher(Scope& scope); /** Record log lines from concurrent programs. All public members are thread safe. */ |