Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Retry eventlog deletion in tests on all platforms - #40743

Merged
ViktorHofer merged 2 commits into
dotnet:masterfrom
ViktorHofer:EventLogRetriesWinAll
Sep 2, 2019
Merged

ViktorHofer merged 2 commits into
dotnet:masterfrom
ViktorHofer:EventLogRetriesWinAll

Conversation

@ViktorHofer

@ViktorHofer ViktorHofer commented Sep 2, 2019 •

Copy link
Copy Markdown
Member

Fixes https://github.com/dotnet/corefx/issues/40224
Fixes https://github.com/dotnet/corefx/issues/38803

"A device attached to the system is not functioning." errors are causing failures on Windows 10 - 19H1 when trying to delete an EventLog. I'm changing the retry logic from Windows 7 to all platforms and re-enable two tests that shouldn't fail anymore with the retry.

@ViktorHofer ViktorHofer self-assigned this Sep 2, 2019
@ViktorHofer ViktorHofer changed the title Retry deleting eventlog on all platforms Retry eventlog deletion in tests on all platforms Sep 2, 2019

@danmoseley danmoseley left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I had hoped this problem would age -out with windows 7. If that's not the case, we may end up having to add retries into the implementation itself in some cases. I guess we can see what feedback we get : this problem presumably existed for years now.

@ViktorHofer
ViktorHofer merged commit 8c04148 into dotnet:master Sep 2, 2019
@ViktorHofer
ViktorHofer deleted the EventLogRetriesWinAll branch September 2, 2019 20:48
ViktorHofer added a commit to ViktorHofer/corefx that referenced this pull request Sep 3, 2019
* Retry deleting eventlog on all platforms

* Remove OS differentiation
ViktorHofer added a commit to ViktorHofer/corefx that referenced this pull request Sep 3, 2019
* Retry deleting eventlog on all platforms

* Remove OS differentiation
ViktorHofer added a commit that referenced this pull request Sep 3, 2019
* Retry deleting eventlog on all platforms

* Remove OS differentiation
@karelz karelz added this to the 5.0 milestone Dec 19, 2019
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
* Retry deleting eventlog on all platforms

* Remove OS differentiation


Commit migrated from dotnet/corefx@8c04148
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.

4 participants