File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
test/DapperTests/IntegrationTests Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ jobs:
131131 # Reduce logging output from tests in cibuild.
132132 Logging__LogLevel__Microsoft.Hosting.Lifetime : ' None'
133133 Logging__LogLevel__Microsoft.AspNetCore.Hosting.Diagnostics : ' None'
134+ Logging__LogLevel__Microsoft.Extensions.Hosting.Internal.Host : ' None'
134135 Logging__LogLevel__Microsoft.EntityFrameworkCore.Database.Command : ' None'
135136 Logging__LogLevel__JsonApiDotNetCore : ' None'
136137 Logging__LogLevel__DapperExample : ' None'
Original file line number Diff line number Diff line change @@ -69,6 +69,9 @@ private WebApplicationFactory<TodoItem> CreateFactory()
6969 {
7070 if ( _testOutputHelper != null )
7171 {
72+ #if ! DEBUG
73+ loggingBuilder . ClearProviders ( ) ;
74+ #endif
7275 loggingBuilder . Services . AddSingleton < ILoggerProvider > ( _ => new XUnitLoggerProvider ( _testOutputHelper , "DapperExample." ) ) ;
7376 }
7477 } ) ;
You can’t perform that action at this time.
0 commit comments