Fix Max Request Body Size test (#12981)

This commit is contained in:
Justin Kotalik 2019-08-08 13:17:36 -07:00 committed by GitHub
parent 4ca819ec99
commit c6e1bcb66c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -78,6 +78,10 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests.InProcess
public async Task SetIISLimitMaxRequestBodyLogsWarning()
{
var deploymentParameters = Fixture.GetBaseDeploymentParameters();
// Logs get tangled up due to ANCM debug logs and managed logs logging at the same time.
// Disable it for this test as we are trying to verify a log.
deploymentParameters.HandlerSettings["debugLevel"] = "";
deploymentParameters.ServerConfigActionList.Add(
(config, _) => {
config