From c7b34a9184923766763c65c48dede9c325f19d42 Mon Sep 17 00:00:00 2001 From: Ajay Bhargav Baaskaran Date: Thu, 28 Feb 2019 17:21:55 -0800 Subject: [PATCH] Unskip test (dotnet/aspnetcore-tooling#231) * Unskip test * Better test \n\nCommit migrated from https://github.com/dotnet/aspnetcore-tooling/commit/933d0919adabd9db2abe3c4c0ca0402e32fc8f04 --- .../test/IntegrationTests/BuildServerIntegrationTest.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Razor/Microsoft.NET.Sdk.Razor/test/IntegrationTests/BuildServerIntegrationTest.cs b/src/Razor/Microsoft.NET.Sdk.Razor/test/IntegrationTests/BuildServerIntegrationTest.cs index 63d25a15b5..6121bc9646 100644 --- a/src/Razor/Microsoft.NET.Sdk.Razor/test/IntegrationTests/BuildServerIntegrationTest.cs +++ b/src/Razor/Microsoft.NET.Sdk.Razor/test/IntegrationTests/BuildServerIntegrationTest.cs @@ -110,12 +110,12 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests Assert.FileDoesNotExist(result, IntermediateOutputPath, "SimpleMvc.Views.dll"); } - [Fact(Skip = "https://github.com/aspnet/Razor/issues/2723")] + [Fact] [InitializeTestProject("SimpleMvc")] public async Task Build_ServerConnectionMutexCreationFails_FallsBackToInProcessRzc() { - // Use a pipe name longer that 260 characters to make the Mutex constructor throw. - var pipeName = new string('P', 261); + // Use an invalid pipe name to make the Mutex constructor throw. + var pipeName = "Invalid\\name"; var result = await DotnetMSBuild( "Build", "/p:_RazorForceBuildServer=true",