mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
SERVER-53456 let hang_analyzer target only c++ process
This commit is contained in:
parent
8b9167a79d
commit
f589354f0f
@ -41,7 +41,12 @@ class HangAnalyzer(Subcommand):
|
||||
self.options = options
|
||||
self.root_logger = None
|
||||
self.interesting_processes = [
|
||||
"mongo", "mongod", "mongos", "_test", "dbtest", "python", "java"
|
||||
# Remove "python", "java" from the list to avoid hang analyzer multiple invocations
|
||||
"mongo",
|
||||
"mongod",
|
||||
"mongos",
|
||||
"_test",
|
||||
"dbtest"
|
||||
]
|
||||
self.go_processes = []
|
||||
self.process_ids = []
|
||||
|
@ -120,7 +120,7 @@ class TestTimeout(_ResmokeSelftest):
|
||||
rmtree(self.test_dir_inner, ignore_errors=True)
|
||||
|
||||
def signal_resmoke(self):
|
||||
hang_analyzer_options = f"-o=file -o=stdout -m=contains -d={self.resmoke_process.pid}"
|
||||
hang_analyzer_options = f"-o=file -o=stdout -m=contains -p=python -d={self.resmoke_process.pid}"
|
||||
signal_resmoke_process = core.programs.make_process(
|
||||
self.logger, [sys.executable, "buildscripts/resmoke.py", "hang-analyzer"
|
||||
] + hang_analyzer_options.split())
|
||||
|
Loading…
Reference in New Issue
Block a user