Change EstablishConnectionAndProcessOneRequestAsync test method to use WhenAllOrAnyFa...
authorStephen Toub <stoub@microsoft.com>
Tue, 11 Jun 2019 20:01:14 +0000 (13:01 -0700)
committerGitHub <noreply@github.com>
Tue, 11 Jun 2019 20:01:14 +0000 (13:01 -0700)
commitc61ef9bacedd2fbfa46f1ee927323fae87f67806
tree3e3c1f718bac8eea4eeee0817af266007a9782e1
parentcfcd9dbcb97383cc4a92437676f0bd0bdd9343c3
Change EstablishConnectionAndProcessOneRequestAsync test method to use WhenAllOrAnyFailed (dotnet/corefx#38462)

* Change EstablishConnectionAndProcessOneRequestAsync test method to use WhenAllOrAnyFailed

CI is currently hanging when the client operation fails in a way that the server never hears about the request, and waits forever.

* Address PR feedback

Commit migrated from https://github.com/dotnet/corefx/commit/0b5479dde70fc565c5edefac4259578865496e84
src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Http2.cs