From 69ea51ecc425d5c7584d4e4885fc17556a6e82a4 Mon Sep 17 00:00:00 2001 From: Meri Khamoyan Date: Thu, 20 Jan 2022 11:40:38 +0100 Subject: [PATCH] #51371 added pipeName case for running on macos --- .../Common/tests/TestUtilities/System/IO/FileCleanupTestBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/Common/tests/TestUtilities/System/IO/FileCleanupTestBase.cs b/src/libraries/Common/tests/TestUtilities/System/IO/FileCleanupTestBase.cs index 13425342d094c..c42baf2730445 100644 --- a/src/libraries/Common/tests/TestUtilities/System/IO/FileCleanupTestBase.cs +++ b/src/libraries/Common/tests/TestUtilities/System/IO/FileCleanupTestBase.cs @@ -141,7 +141,7 @@ protected static string GetNamedPipeServerStreamName() return @"LOCAL\" + Guid.NewGuid().ToString("N"); } - if (PlatformDetection.IsWindows) + if (PlatformDetection.IsWindows || !PlatformDetection.IsNotRunningOnMacOS) { return Guid.NewGuid().ToString("N"); }