From a5d8cdf21d05c8b88582044a42fc646719917fa0 Mon Sep 17 00:00:00 2001 From: Katelyn Gadd Date: Thu, 9 Feb 2023 07:27:08 -0800 Subject: [PATCH] Disable EnsureCleanEnvironment on wasm since it can't possibly work --- src/tests/tracing/eventpipe/common/IpcTraceTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/tracing/eventpipe/common/IpcTraceTest.cs b/src/tests/tracing/eventpipe/common/IpcTraceTest.cs index 17c0562675bc80..9cfd3c86e8fa3b 100644 --- a/src/tests/tracing/eventpipe/common/IpcTraceTest.cs +++ b/src/tests/tracing/eventpipe/common/IpcTraceTest.cs @@ -344,7 +344,7 @@ private int Validate(bool enableRundownProvider = true) // the process that created them, so we don't need to check on that platform. static public bool EnsureCleanEnvironment() { - if (!OperatingSystem.IsWindows()) + if (!OperatingSystem.IsWindows() && !OperatingSystem.IsBrowser()) { Func<(IEnumerable>, List)> getPidsAndSockets = () => {