Skip test which is failing on Linux portable during NuGet restore due to too many open files
This commit is contained in:
parent
9931222c67
commit
9ecef395ba
2 changed files with 12 additions and 0 deletions
|
@ -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)"/>
|
||||
|
|
7
test/SdkTests/TestsToSkipPortableLinux.xml
Normal file
7
test/SdkTests/TestsToSkipPortableLinux.xml
Normal 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>
|
Loading…
Reference in a new issue