Skip to content

Commit

Permalink
#51390 update path
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhamoyan committed Aug 2, 2022
1 parent f8ae22a commit ac07867
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit ac07867

Please sign in to comment.