From ac07867f02dae8ac62aba91b24ebe0d163bc704d Mon Sep 17 00:00:00 2001 From: Meri Khamoyan Date: Tue, 2 Aug 2022 19:33:12 +0200 Subject: [PATCH] #51390 update path --- .../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 bb05c6786fb30..db6163b44087a 100644 --- a/src/libraries/Common/tests/TestUtilities/System/IO/FileCleanupTestBase.cs +++ b/src/libraries/Common/tests/TestUtilities/System/IO/FileCleanupTestBase.cs @@ -170,7 +170,7 @@ protected static string GetNamedPipeServerStreamName() const int MinUdsPathLength = 104; // required min is 92, but every platform we currently target is at least 104 const int MinAvailableForSufficientRandomness = 5; // we want enough randomness in the name to avoid conflicts between concurrent tests - string prefix = Path.Combine(Path.GetTempPath(), "CoreFxPipe"); + string prefix = Path.Combine(Path.GetTempPath(), "FxPipe"); int availableLength = MinUdsPathLength - prefix.Length - 1; // 1 - for possible null terminator Assert.True(availableLength >= MinAvailableForSufficientRandomness, $"UDS prefix {prefix} length {prefix.Length} is too long");