Skip test which is failing on Linux portable during NuGet restore due to too many open files

This commit is contained in:
Daniel Plaisted 2019-09-10 16:15:33 -07:00
parent 9931222c67
commit 9ecef395ba
2 changed files with 12 additions and 0 deletions

View file

@ -246,6 +246,11 @@
<TestArgs>$(TestArgs) -testConfigFile "$(MSBuildThisFileDirectory)TestsToSkipx86.xml"</TestArgs>
</PropertyGroup>
<PropertyGroup Condition=" '$(IslinuxPortable)' == 'true' ">
<!-- Add list of tests to skip on Linux Portable -->
<TestArgs>$(TestArgs) -testConfigFile "$(MSBuildThisFileDirectory)TestsToSkipPortableLinux.xml"</TestArgs>
</PropertyGroup>
<Exec Command="$(ToolRunPrefix)dotnet tool run $(ToolCommandName) -- $(TestArgs)"
WorkingDirectory="$(TestLocalToolFolder)"
EnvironmentVariables="DOTNET_CLI_HOME=$(DOTNET_CLI_HOME)"/>

View file

@ -0,0 +1,7 @@
<Tests>
<SkippedTests>
<Method Name="Microsoft.NET.Publish.Tests.GivenThatWeWantToPublishAWebApp.It_publishes_as_framework_dependent_by_default"
Skip="true"
Reason="https://github.com/NuGet/Home/issues/8571"/>
</SkippedTests>
</Tests>