Unblock VSTS linux builds (#2526)

* Unblock VSTS linux builds

* Updated yml
This commit is contained in:
Ajay Bhargav Baaskaran 2018-08-08 10:48:16 -07:00 committed by GitHub
parent c7337c2d65
commit d097adee5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 20 deletions

View File

@ -10,24 +10,6 @@ resources:
endpoint: DotNet-Bot GitHub Connection
name: aspnet/BuildTools
ref: refs/heads/release/2.2
# Workaround https://dotnet.visualstudio.com/internal/_workitems/edit/28.
# When this is fixed, we can simplify the build to just this
#
# phases:
# - template: .vsts-pipelines/templates/project-ci.yml@buildtools
#
phases:
- template: .vsts-pipelines/templates/phases/default-build.yml@buildtools
parameters:
agentOs: macOS
- template: .vsts-pipelines/templates/phases/default-build.yml@buildtools
parameters:
agentOs: Windows
- template: .vsts-pipelines/templates/phases/default-build.yml@buildtools
parameters:
agentOs: Linux
# Workaround https://dotnet.visualstudio.com/internal/_workitems/edit/28
# VSTS hangs indefinitely when running Razor tests.
buildArgs: "-p:SkipTests=true"
- template: .vsts-pipelines/templates/project-ci.yml@buildtools

View File

@ -143,7 +143,9 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
// it reaches server creation part.
}
[Fact]
// Skipping on linux/mac because of https://github.com/aspnet/Razor/issues/2507.
[ConditionalFact]
[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)]
[InitializeTestProject("SimpleMvc")]
public async Task ManualServerShutdown_NoPipeName_ShutsDownServer()
{