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

Fix symbolic link tests #51712

Merged
2 commits merged into from
Apr 23, 2021
Merged

Fix symbolic link tests #51712

2 commits merged into from
Apr 23, 2021

Conversation

agocke
Copy link
Member

@agocke agocke commented Apr 22, 2021

Use IDisposable and File.Delete to ensure that symlinks get created
and cleaned up properly on all platforms. If all symlinks aren't
deleted, the later test cleanup phases have problems deleting them.

Fixes #51502

Use IDisposable and `File.Delete` to ensure that symlinks get created
and cleaned up properly on all platforms. If all symlinks aren't
deleted, the later test cleanup phases have problems deleting them.

Fixes dotnet#51502
@ghost
Copy link

ghost commented Apr 22, 2021

Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov
See info in area-owners.md if you want to be subscribed.

Issue Details

Use IDisposable and File.Delete to ensure that symlinks get created
and cleaned up properly on all platforms. If all symlinks aren't
deleted, the later test cleanup phases have problems deleting them.

Fixes #51502

Author: agocke
Assignees: -
Labels:

area-Host

Milestone: -

@agocke agocke requested a review from mateoatr April 22, 2021 20:19
@ghost
Copy link

ghost commented Apr 22, 2021

Hello @agocke!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit ed1897e into dotnet:main Apr 23, 2021
@agocke agocke deleted the safely-handle-symlinks branch April 23, 2021 00:42
@karelz karelz modified the milestones: 5.0.x, 6.0.0 May 20, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jun 19, 2021
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Symlinks left on disk by Installer runs breaks job log upload on Linux
3 participants