Fix Max Request Body Size test (#12981)
This commit is contained in:
parent
4ca819ec99
commit
c6e1bcb66c
|
|
@ -78,6 +78,10 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests.InProcess
|
||||||
public async Task SetIISLimitMaxRequestBodyLogsWarning()
|
public async Task SetIISLimitMaxRequestBodyLogsWarning()
|
||||||
{
|
{
|
||||||
var deploymentParameters = Fixture.GetBaseDeploymentParameters();
|
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(
|
deploymentParameters.ServerConfigActionList.Add(
|
||||||
(config, _) => {
|
(config, _) => {
|
||||||
config
|
config
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue