From 0ec07945a9759a72a689edbb01e69b232e26e05a Mon Sep 17 00:00:00 2001 From: John Salem Date: Mon, 7 Dec 2020 17:21:04 -0800 Subject: [PATCH] Enable StressLog for subprocess in EventPipe tests (#45425) --- src/tests/tracing/eventpipe/common/IpcUtils.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tests/tracing/eventpipe/common/IpcUtils.cs b/src/tests/tracing/eventpipe/common/IpcUtils.cs index 554037c..8dc8da2 100644 --- a/src/tests/tracing/eventpipe/common/IpcUtils.cs +++ b/src/tests/tracing/eventpipe/common/IpcUtils.cs @@ -67,6 +67,9 @@ namespace Tracing.Tests.Common process.StartInfo.UseShellExecute = false; process.StartInfo.CreateNoWindow = true; + process.StartInfo.Environment.Add("COMPlus_StressLog", "1"); // Turn on stresslog for subprocess + process.StartInfo.Environment.Add("COMPlus_LogFacility", "1000"); // Diagnostics Server Log Facility + process.StartInfo.Environment.Add("COMPlus_LogLevel", "10"); // Log everything foreach ((string key, string value) in environment) process.StartInfo.Environment.Add(key, value); process.StartInfo.FileName = Process.GetCurrentProcess().MainModule.FileName; -- 2.7.4