0
0
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:
Siran Wang 2021-02-25 11:56:56 -05:00 committed by Evergreen Agent
parent 8b9167a79d
commit f589354f0f
2 changed files with 7 additions and 2 deletions

View File

@ -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 = []

View File

@ -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())