Skip to content

Conversation

@wtgodbe
Copy link
Member

@wtgodbe wtgodbe commented Aug 12, 2021

Should fix #34982, #34986

These tests wait for a file to exist before disposing the FileLoggerProcessor, but the file exists before it gets written to, so the tests could dispose the logger before it writes, causing the tests to fail. Changing them so they wait until the file exists & has content before disposing. Running these in a loop locally to see if they still fail for me, won't merge this until that's green.

@BrennanConroy remind me of the process here - just mark the 2 test issues "test-fixed" & build-ops will unquarantine after a month if they haven't failed?

@wtgodbe wtgodbe requested review from Tratcher and halter73 August 12, 2021 21:10
@wtgodbe wtgodbe requested a review from BrennanConroy as a code owner August 12, 2021 21:10
@ghost ghost added the area-runtime label Aug 12, 2021
@BrennanConroy
Copy link
Member

just mark the 2 test issues "test-fixed" & build-ops will unquarantine after a month if they haven't failed?

Yep, mark them, leave them open, and someone should check them in 30 days.

@wtgodbe wtgodbe merged commit 0281253 into main Aug 16, 2021
@wtgodbe wtgodbe deleted the wtgodbe/FileLoggerFix branch August 16, 2021 17:06
@ghost ghost added this to the 6.0-rc1 milestone Aug 16, 2021
@amcasey amcasey added area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failing Test HttpLogging.FileLoggerProcessorTests.WritesToNewFileOnOptionsChange

4 participants