Files
dotnet-runtime/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj
T
Stephen Toub b585c84595 Add debug data to help diagnose HTTP2 test failure (dotnet/corefx#38345)
The GoAwayFrame_AbortAllPendingStreams_StreamFailWithExpectedException test has been frequently hanging on some Linux distros.  This adds some diagnostics to help track it down in CI: every minute, it'll dump out the fields of the async state machine, which if nothing else will let us see which await it's stuck on and what is the state of each of the tasks.

Commit migrated from https://github.com/dotnet/corefx/commit/410a162f68eb319e8066ac7bf2d7bcd6e2ce47d0
2019-06-07 16:09:38 -04:00

185 lines
10 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<ProjectGuid>{C85CF035-7804-41FF-9557-48B7C948B58D}</ProjectGuid>
<DefineConstants Condition="'$(TargetsWindows)'=='true'">$(DefineConstants);TargetsWindows</DefineConstants>
<DefineConstants>$(DefineConstants);SYSNETHTTP_NO_OPENSSL</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<IncludeRemoteExecutor>true</IncludeRemoteExecutor>
<Configurations>netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(CommonPath)\Interop\Unix\Interop.Libraries.cs" Condition="'$(TargetsUnix)' == 'true'">
<Link>Common\Interop\Unix\System.Net.Http.Native\Interop.VersionInfo.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\Interop\Unix\System.Net.Http.Native\Interop.VersionInfo.cs" Condition="'$(TargetsUnix)' == 'true'">
<Link>Common\Interop\Unix\System.Net.Http.Native\Interop.VersionInfo.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\Interop\Unix\System.Net.Security.Native\Interop.NetSecurityNative.IsNtlmInstalled.cs" Condition="'$(TargetsUnix)' == 'true'">
<Link>Common\Interop\Unix\System.Net.Security.Native\Interop.NetSecurityNative.IsNtlmInstalled.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Buffers\NativeMemoryManager.cs">
<Link>Common\System\Buffers\NativeMemoryManager.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Diagnostics\Tracing\TestEventListener.cs">
<Link>Common\System\Diagnostics\Tracing\TestEventListener.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Diagnostics\Tracing\ConsoleEventListener.cs">
<Link>Common\System\Diagnostics\Tracing\ConsoleEventListener.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\IO\DelegateStream.cs">
<Link>Common\System\IO\DelegateStream.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Net\RemoteServerQuery.cs">
<Link>Common\System\Net\RemoteServerQuery.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Net\Configuration.Certificates.cs">
<Link>Common\System\Net\Configuration.Certificates.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Net\EventSourceTestLogging.cs">
<Link>Common\System\Net\EventSourceTestLogging.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Net\HttpsTestServer.cs">
<Link>Common\System\Net\HttpsTestServer.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Net\Capability.Security.cs">
<Link>Common\System\Net\Capability.Security.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Net\Capability.Security.Windows.cs" Condition="'$(TargetsWindows)' == 'true'">
<Link>Common\System\Net\Capability.Security.Windows.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Net\Capability.Security.Unix.cs" Condition="'$(TargetsUnix)' == 'true'">
<Link>Common\System\Net\Capability.Security.Unix.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Net\Configuration.cs">
<Link>Common\System\Net\Configuration.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Net\Configuration.Http.cs">
<Link>Common\System\Net\Configuration.Http.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Net\Configuration.Security.cs">
<Link>Common\System\Net\Configuration.Security.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Net\TestWebProxies.cs">
<Link>Common\System\Net\TestWebProxies.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Net\VerboseTestLogging.cs">
<Link>Common\System\Net\VerboseTestLogging.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Net\Http\LoopbackProxyServer.cs">
<Link>Common\System\Net\Http\LoopbackProxyServer.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Net\Http\LoopbackServer.cs">
<Link>Common\System\Net\Http\LoopbackServer.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Net\Http\LoopbackServer.AuthenticationHelpers.cs">
<Link>Common\System\Net\Http\LoopbackServer.AuthenticationHelpers.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Net\Http\GenericLoopbackServer.cs">
<Link>Common\System\Net\Http\GenericLoopbackServer.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Threading\TrackingSynchronizationContext.cs">
<Link>Common\System\Threading\TrackingSynchronizationContext.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Threading\Tasks\GetStateMachineData.cs">
<Link>Common\System\Threading\Tasks\GetStateMachineData.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Threading\Tasks\TaskTimeoutExtensions.cs">
<Link>Common\System\Threading\Tasks\TaskTimeoutExtensions.cs</Link>
</Compile>
<Compile Include="ByteArrayContentTest.cs" />
<Compile Include="ChannelBindingAwareContent.cs" />
<Compile Include="DribbleStream.cs" />
<Compile Include="CustomContent.cs" />
<Compile Include="DelegatingHandlerTest.cs" />
<Compile Include="FakeDiagnosticSourceListenerObserver.cs" />
<Compile Include="FormUrlEncodedContentTest.cs" />
<Compile Include="HttpClientHandlerTest.Authentication.cs" />
<Compile Include="HttpClientHandlerTest.AutoRedirect.cs" />
<Compile Include="HttpClientHandlerTest.cs" />
<Compile Include="HttpClientHandlerTest.Cancellation.cs" />
<Compile Include="HttpClientHandlerTest.ClientCertificates.cs" />
<Compile Include="HttpClientHandlerTest.Asynchrony.cs" />
<Compile Include="HttpClientHandlerTest.DefaultProxyCredentials.cs" />
<Compile Include="HttpClientHandlerTest.Proxy.cs" />
<Compile Include="HttpClientHandlerTest.ResponseDrain.cs" />
<Compile Include="HttpClientHandlerTest.MaxConnectionsPerServer.cs" />
<Compile Include="HttpClientHandlerTest.MaxResponseHeadersLength.cs" />
<Compile Include="HttpClientHandlerTest.ServerCertificates.cs" />
<Compile Include="HttpClientHandlerTest.ServerCertificates.Unix.cs" Condition="'$(TargetsUnix)' == 'true'" />
<Compile Include="HttpClientHandlerTest.ServerCertificates.Windows.cs" Condition="'$(TargetsWindows)' == 'true'" />
<Compile Include="HttpClientHandlerTest.SslProtocols.cs" />
<Compile Include="HttpClientHandlerTest.SslProtocols.Unix.cs" Condition="'$(TargetsUnix)' == 'true'" />
<Compile Include="HttpClientHandlerTest.SslProtocols.Windows.cs" Condition="'$(TargetsWindows)' == 'true'" />
<Compile Include="DiagnosticsTests.cs" />
<Compile Include="HttpClientHandlerTestBase.cs" />
<Compile Include="HttpClientTest.cs" />
<Compile Include="HttpClientEKUTest.cs" />
<Compile Include="HttpClientMiniStressTest.cs" />
<Compile Include="HttpClient.SelectedSitesTest.cs" />
<Compile Include="HttpContentTest.cs" />
<Compile Include="HttpMessageInvokerTest.cs" />
<Compile Include="HttpMethodTest.cs" />
<Compile Include="HttpClientHandlerTest.Cookies.cs" />
<Compile Include="HttpClientHandlerTest.Headers.cs" />
<Compile Include="HttpRetryProtocolTests.cs" />
<Compile Include="IdnaProtocolTests.cs" />
<Compile Include="HttpProtocolTests.cs" />
<Compile Include="HttpRequestMessageTest.cs" />
<Compile Include="HttpResponseMessageTest.cs" />
<Compile Include="MessageProcessingHandlerTest.cs" />
<Compile Include="MultipartContentTest.cs" />
<Compile Include="MultipartFormDataContentTest.cs" />
<Compile Include="PlatformHandlerTest.cs" />
<Compile Include="PostScenarioTest.cs" />
<Compile Include="RepeatedFlushContent.cs" />
<Compile Include="ResponseStreamTest.cs" />
<Compile Include="SchSendAuxRecordHttpTest.cs" />
<Compile Include="StreamContentTest.cs" />
<Compile Include="StringContentTest.cs" />
<Compile Include="SyncBlockingContent.cs" />
<Compile Include="TestHelper.cs" />
<Compile Include="DefaultCredentialsTest.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp'">
<Compile Include="HttpClientHandlerTest.AcceptAllCerts.cs" />
<Compile Include="HttpClientHandlerTest.Decompression.cs" />
<Compile Include="HttpClientTest.netcoreapp.cs" />
<Compile Include="HttpMethodTest.netcoreapp.cs" />
<Compile Include="HuffmanDecodingTests.cs" />
<Compile Include="NtAuthTests.cs" />
<Compile Include="ReadOnlyMemoryContentTest.cs" />
<Compile Include="SocketsHttpHandlerTest.cs" />
<Compile Include="HttpClientHandlerTest.Http1.cs" />
<Compile Include="HttpClientHandlerTest.Http2.cs" />
<Compile Include="CustomContent.netcore.cs" />
<Compile Include="$(CommonTestPath)\System\Net\Http\Http2Frames.cs">
<Link>Common\System\Net\Http\Http2Frames.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Net\Http\Http2LoopbackServer.cs">
<Link>Common\System\Net\Http\Http2LoopbackServer.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\Net\Http\HuffmanDecoder.cs">
<Link>Common\System\Net\Http\HuffmanDecoder.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup Condition="'$(TargetGroup)' == 'uap'">
<Reference Include="Windows" />
<Compile Include="MultiInterfaceNonRewindableReadOnlyStream.cs" />
<Compile Include="MultiInterfaceReadOnlyStream.cs" />
<Compile Include="MultiInterfaceStreamContent.cs" />
<Compile Include="PostScenarioUWPTest.cs" />
<Compile Include="XUnitAssemblyAttributes.cs" />
</ItemGroup>
<ItemGroup>
<SupplementalTestData Include="$(NuGetPackageRoot)system.net.testdata\1.0.2\content\**\*.*" DestinationDir="TestData" />
</ItemGroup>
<ItemGroup Condition="'$(TargetsOSX)'=='true'">
<TestCommandLines Include="ulimit -Sn 4096" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="SelectedSitesTest.txt">
<Link>SelectedSitesTest.txt</Link>
</EmbeddedResource>
</ItemGroup>
</Project>