[Telemtry] Create a temp file for storing wpr's stdout & stderr.
Previously, webpagereplay stores all the stdout & stder of the wpr subprocess to a fix log file path location. It then parses the log lines to get replay server port assignment. When there are multiple telemetry processes running in parallel, this cause a concurrency problem. This patch addresses the issue by create a temp location for the log file path. This is to make sure that different telemetry processes will write & read to different log files. BUG=469296 Review URL: https://codereview.chromium.org/1025553008 Cr-Commit-Position: refs/heads/master@{#322247}
Showing
Please register or sign in to comment