* Unskip test

* Better test
\n\nCommit migrated from 933d0919ad
This commit is contained in:
Ajay Bhargav Baaskaran 2019-02-28 17:21:55 -08:00 committed by GitHub
parent 875e40a5c1
commit c7b34a9184
1 changed files with 3 additions and 3 deletions

View File

@ -110,12 +110,12 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
Assert.FileDoesNotExist(result, IntermediateOutputPath, "SimpleMvc.Views.dll"); Assert.FileDoesNotExist(result, IntermediateOutputPath, "SimpleMvc.Views.dll");
} }
[Fact(Skip = "https://github.com/aspnet/Razor/issues/2723")] [Fact]
[InitializeTestProject("SimpleMvc")] [InitializeTestProject("SimpleMvc")]
public async Task Build_ServerConnectionMutexCreationFails_FallsBackToInProcessRzc() public async Task Build_ServerConnectionMutexCreationFails_FallsBackToInProcessRzc()
{ {
// Use a pipe name longer that 260 characters to make the Mutex constructor throw. // Use an invalid pipe name to make the Mutex constructor throw.
var pipeName = new string('P', 261); var pipeName = "Invalid\\name";
var result = await DotnetMSBuild( var result = await DotnetMSBuild(
"Build", "Build",
"/p:_RazorForceBuildServer=true", "/p:_RazorForceBuildServer=true",