From: John Salem Date: Tue, 8 Dec 2020 01:21:04 +0000 (-0800) Subject: Enable StressLog for subprocess in EventPipe tests (#45425) X-Git-Tag: submit/tizen/20210909.063632~4275 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0ec07945a9759a72a689edbb01e69b232e26e05a;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Enable StressLog for subprocess in EventPipe tests (#45425) --- 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;