Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shorten pipe names #3183

Merged
merged 5 commits into from
Jun 26, 2024
Merged

Shorten pipe names #3183

merged 5 commits into from
Jun 26, 2024

Conversation

Evangelink
Copy link
Member

Based on https://github.com/microsoft/testanywhere/pull/1864, I am shortening the pipe names which should fix the issue reported on #3097.

It'd be ideal if we could add some integration test that would reproduce the issue.

I'll keep the PR open until it's reviewed by @MarcoRossignoli

@Evangelink
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Evangelink Evangelink merged commit 392eff4 into microsoft:main Jun 26, 2024
6 checks passed
@Evangelink Evangelink deleted the shorten-pipe-names branch June 26, 2024 20:24
string namedPipeSuffix = _environment.GetEnvironmentVariable(HangDumpConfiguration.MutexNameSuffix) ?? throw new InvalidOperationException($"Expected {HangDumpConfiguration.MutexNameSuffix} environment variable set.");
string namedPipeSuffix = _environment.GetEnvironmentVariable(HangDumpConfiguration.MutexNameSuffix)
?? throw new InvalidOperationException($"Expected {HangDumpConfiguration.MutexNameSuffix} environment variable set.");
// @Marco: Why do we need to duplicate logic here instead of using HangDumpConfiguration.PipeNameKey?
Copy link
Contributor

@MarcoRossignoli MarcoRossignoli Jun 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Evangelink typo?

Copy link
Contributor

@MarcoRossignoli MarcoRossignoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, if we will have issue again we will shorten the "subdirectory" we create in the pipe name helper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants