This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Repository navigation
Move NamedPipe tests to use Local prefix - #22273
Merged
Merged
Conversation
stephentoub
reviewed
Jul 14, 2017
| return success; | ||
| }); | ||
|
|
||
| protected string GetNamedPipeServerStreamName(string s) |
Member
There was a problem hiding this comment.
Do we need to pass in the "N"? Do we ever call this with anything else?
Member
Author
There was a problem hiding this comment.
Only do N every time, so I'll fix this
stephentoub
reviewed
Jul 14, 2017
| { | ||
| return Path.GetRandomFileName(); | ||
| return | ||
| #if uap |
Member
There was a problem hiding this comment.
Can we use partial files instead of ifdefs?
Member
Author
There was a problem hiding this comment.
actually there is a better way to do it, instead of partial files I'll do PlatformDetection, that way we don't need the extra configuration 😄
stephentoub
approved these changes
Jul 14, 2017
stephentoub
approved these changes
Jul 14, 2017
safern
approved these changes
Jul 14, 2017
| { | ||
| return @"LOCAL\" + Guid.NewGuid().ToString("N"); | ||
| } | ||
| else |
Member
There was a problem hiding this comment.
There is no need of doing this else as you are already returning inside the if.
| { | ||
| return @"LOCAL\" + Path.GetRandomFileName(); | ||
| } | ||
| else |
| { | ||
| return @"LOCAL\" + Path.GetRandomFileName(); | ||
| } | ||
| else |
picenka21
pushed a commit
to picenka21/runtime
that referenced
this pull request
Feb 18, 2022
Move NamedPipe tests to use Local prefix Commit migrated from dotnet/corefx@c54a7a7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #21392
Opens #22271
cc: @JeremyKuhne @stephentoub