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 TestsManifestGeneration test again #46928

Merged
merged 3 commits into from
Jan 14, 2021
Merged

Conversation

sywhang
Copy link
Contributor

@sywhang sywhang commented Jan 13, 2021

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