Skip to content

Fix TestsManifestGeneration test again - #46928

Merged
sywhang merged 3 commits into
dotnet:masterfrom
sywhang:dev/suwhang/41954
Jan 14, 2021
Merged

sywhang merged 3 commits into
dotnet:masterfrom
sywhang:dev/suwhang/41954

Conversation

@sywhang

@sywhang sywhang commented Jan 13, 2021

Copy link
Copy Markdown
Contributor

Fix #41954

I already fixed this test in #46658 -- the issue is that requesting flush to ETW session does not guarantee the file to be fully written before we check for the existence of the event. In order to prevent the race, I added sleep between when we request ETW flush and when the trace is parsed in #46658, but missed one of the calls to flush. This adds it to the missing call.

@sywhang sywhang added test-bug Problem in test source code (most likely) area-Tracing-coreclr labels Jan 13, 2021
@sywhang
sywhang requested a review from hoyosjs January 13, 2021 18:31
@sywhang
sywhang merged commit 3268d09 into dotnet:master Jan 14, 2021
@sywhang
sywhang deleted the dev/suwhang/41954 branch January 14, 2021 08:20
@ghost ghost locked as resolved and limited conversation to collaborators Feb 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Tracing-coreclr test-bug Problem in test source code (most likely)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test failure: BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover

4 participants