Merge pull request #16668 from dotnet-maestro-bot/merge/release/3.1-preview2-to-release/3.1
[automated] Merge branch 'release/3.1-preview2' => 'release/3.1'
This commit is contained in:
commit
8acff52cf0
|
|
@ -397,7 +397,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests.InProcess
|
||||||
Assert.Equal(HttpStatusCode.InternalServerError, response.StatusCode);
|
Assert.Equal(HttpStatusCode.InternalServerError, response.StatusCode);
|
||||||
var responseContent = await response.Content.ReadAsStringAsync();
|
var responseContent = await response.Content.ReadAsStringAsync();
|
||||||
Assert.Contains("HTTP Error 500.31 - ANCM Failed to Find Native Dependencies", responseContent);
|
Assert.Contains("HTTP Error 500.31 - ANCM Failed to Find Native Dependencies", responseContent);
|
||||||
Assert.Contains("The specified framework 'Microsoft.NETCore.App', version '2.9.9'", responseContent);
|
Assert.Contains("The framework 'Microsoft.NETCore.App', version '2.9.9'", responseContent);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -308,7 +308,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return "The specified framework 'Microsoft.NETCore.App', version '2.9.9' was not found.";
|
return "The framework 'Microsoft.NETCore.App', version '2.9.9' was not found.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests
|
||||||
StopServer();
|
StopServer();
|
||||||
|
|
||||||
EventLogHelpers.VerifyEventLogEvent(deploymentResult,
|
EventLogHelpers.VerifyEventLogEvent(deploymentResult,
|
||||||
"The specified framework 'Microsoft.NETCore.App', version '2.9.9' was not found.", Logger);
|
"The framework 'Microsoft.NETCore.App', version '2.9.9' was not found.", Logger);
|
||||||
}
|
}
|
||||||
|
|
||||||
[ConditionalFact]
|
[ConditionalFact]
|
||||||
|
|
@ -56,7 +56,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests
|
||||||
StopServer();
|
StopServer();
|
||||||
|
|
||||||
var contents = Helpers.ReadAllTextFromFile(Helpers.GetExpectedLogName(deploymentResult, _logFolderPath), Logger);
|
var contents = Helpers.ReadAllTextFromFile(Helpers.GetExpectedLogName(deploymentResult, _logFolderPath), Logger);
|
||||||
var expectedString = "The specified framework 'Microsoft.NETCore.App', version '2.9.9' was not found.";
|
var expectedString = "The framework 'Microsoft.NETCore.App', version '2.9.9' was not found.";
|
||||||
EventLogHelpers.VerifyEventLogEvent(deploymentResult, expectedString, Logger);
|
EventLogHelpers.VerifyEventLogEvent(deploymentResult, expectedString, Logger);
|
||||||
Assert.Contains(expectedString, contents);
|
Assert.Contains(expectedString, contents);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue