Commit Graph
400 Commits
Author SHA1 Message Date
Wes Haggard bd13e2e340 Update xunit.netcore.extensions package
This allows us to start using TestPlatforms added with
https://github.com/dotnet/buildtools/pull/1000


Commit migrated from https://github.com/dotnet/corefx/commit/64a737e43afb7954d0105da8f360a1669ebe2a2d
2016-10-01 10:55:35 -07:00
dotnet-bot 027f6103a8 Update CoreClr, CoreFx to beta-24601-01, beta-24530-03, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/d37f83fb58b99eef950787f191744f503ee50067
2016-09-30 22:46:05 -04:00
dotnet-bot 7b4f9fc0c4 Update CoreClr, CoreFx to beta-24530-04, beta-24530-02, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/76746a58dabb98d6df8d5404b9fe00c66404a427
2016-09-30 19:24:02 +00:00
dotnet-bot bce2d80e22 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24529-03, beta-24530-01, beta-24523-00, beta-24530-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/0b6b3faaaa9877872721f52469dc48016496ed82
2016-09-30 12:35:55 -04:00
David Shulman 77ac9787f0 Enable System.Net.WebSockets.Client tests for UWP
These changes allow the WebSockets.Client tests to run for netcore50 (UWP) target.
I removed unneeded packages from project.json which prevented the tests from working on UWP. UWP doesn't
have System.Net.Security, for example. But it doesn't need that package in the tests project anyways.

There are failures in the tests (ClientWebSocketOptions) when they run but I will follow up separately with that.


Commit migrated from https://github.com/dotnet/corefx/commit/8d1152c0ec9baf151aaca5f727bacc3e73f54383
2016-09-25 20:42:11 -07:00
Stephen Toub a6b52b9d78 Fix new ClientWebSocketOptions tests on Windows 7
Commit migrated from https://github.com/dotnet/corefx/commit/ba447000fe97ec934e107e0c2a78b5f1d6ada4f2
2016-09-25 07:40:13 -07:00
dotnet-bot c2d82aba38 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24522-04, beta-24522-03, beta-24522-00, beta-24522-01, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/894cc88238f0bd57ad49b59cfb5f5e6581993742
2016-09-22 14:41:33 -07:00
dotnet-bot 96edb1b541 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24522-01, beta-24521-07, beta-24521-00, beta-24521-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/fe6144b2d3726b68f824db46047b9ddfa7516ea4
2016-09-22 11:55:56 -07:00
dotnet-bot 4d9c1ffa86 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24520-03, beta-24520-06, beta-24520-00, beta-24520-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/21ad171bdf873f7be8f0756ea7a572e6c9595eb9
2016-09-20 15:08:50 -07:00
dotnet-bot 23d6e4713d Update CoreClr, CoreFx to beta-24518-02, beta-24516-03, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/dfa190bcbb19492f0584298671ae27171d0e460c
2016-09-18 08:19:04 +00:00
Jose Perez Rodriguez e9c5a6629e Using master packages instead of dev/api
Commit migrated from https://github.com/dotnet/corefx/commit/517f1bf92c00acf7b0a71318255bb1d4504264d4
2016-09-16 11:17:32 -07:00
dotnet-bot f7a9e6db49 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24516-01, beta-devapi-24515-01, beta-24514-00, beta-24516-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/a51ffdcc41142c8928da0ce9d05ec586476cc227
2016-09-16 11:16:36 -07:00
Stephen Toub 7e8502b763 Address PR feedback
Commit migrated from https://github.com/dotnet/corefx/commit/9ebf8df1adfad7c4e26e5be35025ec4b50864cfe
2016-09-14 23:47:37 -04:00
Stephen Toub 7f7cd8a732 Add back missing WebSockets APIs
Adds to System.Net.WebSockets:
- WebSocketException deriving from Win32Exception
- WebSocketException.ctor()
- WebSocket.DefaultKeepAliveInterval
- WebSocket.CreateClientBuffer
- WebSocket.CreateClientWebSocket
- WebSocket.CreateServerBuffer
- WebSocket.IsApplicationTargeting45
- WebSocket.IsStateTerminal
- WebSocket.ReisterPrefixes
- WebSocket.ThrowOnInvalidState
- WebSocketContext.RequestUri
- WebSocketContext.Headers
- WebSocketContext.Origin
- WebSocketContext.SecWebSocketProtocols
- WebSocketContext.SecWebSocketKey
- WebSocketContext.CookieCollection
- WebsocketContext.User
- WebSocketContext.IsAuthenticated
- WebSocketContext.IsLocal
- WebSocketContext.IsSecureConnection
- WebSocketContext.WebSocket

(Several of these members just throw PlatformNotSupportedException. Others have a different implementation than on desktop but something that's reasonable for corefx given the rest of the implementation's differences, e.g. limits on buffer sizes.)

Adds to System.Net.WebSockets.Client:
- ClientWebSocketOptions.UseDefaultCredentials
- ClientWebSocketOptions.SetBuffer(int, int)
- ClientWebSocketOptions.SetBuffer(int, int, ArraySegment<byte>)

As part of this, I also:
- Updated ClientWebSocketOptions.KeepAliveInterval to default to 30 seconds, as it does on desktop, rather than defaulting to 0.
- Updated the managed websockets implementation to take the ClientWebSocketOptions buffer information into account, in particular the receive buffer size and the buffer itself (as long as offset and count don't represent a subset, which would have been a more intrusive change to support).


Commit migrated from https://github.com/dotnet/corefx/commit/c97a2c7ac8ff5a4473348adf2ba6ca6a141de116
2016-09-14 08:11:20 -04:00
Stephen Toub d02f639461 Merge pull request dotnet/corefx#11654 from mconnew/Issue4429
Make async continuations run on different thread to avoid deadlock

Commit migrated from https://github.com/dotnet/corefx/commit/6d34bd3f18a46212b1060ef0b40b8ebdc71eb04e
2016-09-13 21:23:35 -04:00
Matt Connew 1d5a2181ef Make async continuations run on different thread to avoid deadlock
Fixes dotnet/corefx#4429


Commit migrated from https://github.com/dotnet/corefx/commit/4dcc1d0ab2de6399db3b39ac75e3a26caeac516b
2016-09-13 13:36:18 -07:00
Jose Perez Rodriguez bf0da1a921 Required changes to get the build green again after merge from dev/api
Commit migrated from https://github.com/dotnet/corefx/commit/ed8347041878054db7707d54201779ccba967782
2016-09-13 11:21:48 -07:00
Jose Perez Rodriguez 1105adec7a Merge remote-tracking branch 'mainrepo/dev/api' into MergeDevApi
Commit migrated from https://github.com/dotnet/corefx/commit/a1989d82cff273db667638e4836ea7836f5c6eb9
2016-09-12 15:20:12 -07:00
dotnet-bot acdc501149 Update CoreClr, CoreFx to beta-24512-03, beta-24512-01, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/3df0516607085d17065a6116c7abc80c4e3af290
2016-09-12 16:17:05 +00:00
dotnet-bot dedd766eff Update CoreClr, CoreFx, ProjectNTfs to beta-24512-02, beta-devapi-24512-01, beta-24512-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/141f99a8e273e4288ca3d827aa10d00e64cb5bcc
2016-09-12 08:23:26 +00:00
Ben Adams 3ac40528d0 Replace Contract.Requires with Debug.Assert (dotnet/corefx#11600)
* Replace Contract.Requires with Debug.Assert
* Remove unnessary Diagnostics.Contracts usings

Commit migrated from https://github.com/dotnet/corefx/commit/3c0e84832d9cd0a97c11dd8658722f69b6b1bc8e
2016-09-11 19:06:57 -04:00
dotnet-bot 18b78b4c1f Update CoreClr, CoreFx to beta-24511-02, beta-devapi-24511-01, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/ae7f1882d122ae773eaf5e0d507fe2df2139a0bf
2016-09-11 08:12:24 +00:00
dotnet-bot aae1eef0fe Update CoreClr, CoreFx, External to beta-24510-02, beta-24510-01, beta-24509-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/c1870256431a6ca13c321af37bc68868d046cf81
2016-09-10 15:25:05 -04:00
dotnet-bot d6ed58d1f6 Update CoreClr, CoreFx, External to beta-24510-02, beta-devapi-24510-01, beta-24509-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/2177e4aa7dd0d6099e849398cc75ddab5401d3f9
2016-09-10 08:20:00 +00:00
dotnet-bot 1362c77e30 Update CoreClr, CoreFx to beta-24509-03, beta-24509-01, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/791c42cc72174ff454f58e7d9678ce25f300e543
2016-09-09 08:19:56 +00:00
dotnet-bot b4d3b58080 Update CoreClr, CoreFx, ProjectNTfs to beta-24509-03, beta-devapi-24509-01, beta-24509-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/b0752ce47fb6a5935827c89cfa0928b3934d2f37
2016-09-09 08:12:40 +00:00
dotnet-bot 8d8fb53a8f Update CoreClr, CoreFx, External, ProjectNTfs to beta-24508-02, beta-devapi-24508-03, beta-24507-00, beta-24508-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/ba1dbe35b8c7b6ff7a9d8a607ae465a48c889d97
2016-09-08 08:22:27 +00:00
Eric Mellino 53e9a2b08d Update TestSuite package to 1.0.0-prerelease-00807-03
Commit migrated from https://github.com/dotnet/corefx/commit/9447d75da2117e577e6a8549cb679e77207d5a26
2016-09-07 10:58:44 -07:00
dotnet-bot 359d69c099 Update CoreFx, External to beta-24507-02, beta-24507-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/e3592f39bda1cf050ef177a1b1d50814e895a295
2016-09-07 05:23:10 +00:00
dotnet-bot b7b9f635b6 Update CoreClr, CoreFx to beta-24507-02, beta-24507-01, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/bac52af892d58a3d9d1e56bf4568315ea00af69f
2016-09-07 00:57:20 +00:00
dotnet-bot e2201cce59 Update CoreFx to beta-24506-02
Commit migrated from https://github.com/dotnet/corefx/commit/5b019148ca9f6dddbde058c88a1638e9a1038928
2016-09-06 14:33:47 +00:00
dotnet-bot ab1530f48e Update CoreClr, CoreFx, External to beta-24506-02, beta-24506-01, beta-24506-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/0aec2bab9dd980829d66d6f67a119fea832301d3
2016-09-06 09:10:59 +00:00
dotnet-bot 825730b21f Update CoreClr, CoreFx, External to beta-24505-02, beta-24505-01, beta-24505-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/183bd2f332546046de269246eec6f7f71f4d50cb
2016-09-05 14:24:29 +00:00
dotnet-bot cec9baaf99 Update CoreClr, CoreFx to beta-24503-02, beta-devapi-24503-01, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/062c5a22cef03332558c4726078615061a88d7b6
2016-09-03 09:30:27 +00:00
dotnet-bot 74834b865c Update CoreClr, CoreFx, External to beta-24503-01, beta-24502-03, beta-24502-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/b507f173e654e1ab61871f5a0c39d5bbdc08a29b
2016-09-03 01:22:25 +00:00
dotnet-bot a37985e165 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24502-03, beta-devapi-24502-02, beta-24502-00, beta-24502-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/3c724e11c6d1c94ed8d22b510e23333471a9a50c
2016-09-02 19:42:48 +00:00
Stephen Toub f68900cc15 Merge pull request dotnet/corefx#11348 from anurse/anurse/11309-websocket-throw-on-closed-connection
fix dotnet/corefx#11309 in WebSockets by throwing when the underlying connection is closed

Commit migrated from https://github.com/dotnet/corefx/commit/5aa3d2b9286c9ae5e817694201e565b2e06b0cc3
2016-09-02 06:25:46 -04:00
Jose Perez Rodriguez 1e6d178df5 Changes required to have dev/api building again after merge
Commit migrated from https://github.com/dotnet/corefx/commit/bf7911a1ba3cfdf389527276d7991312dbd2b8c9
2016-09-01 16:47:55 -07:00
David Shulman c8737d7883 Merge pull request dotnet/corefx#11341 from davidsh/networking_tests_1
Disable most networking tests for default CI runs

Commit migrated from https://github.com/dotnet/corefx/commit/0d3ba29934def851fe35514bfe18ecd5f3b5791e
2016-09-01 13:59:40 -07:00
Jose Perez Rodriguez 6328e7431b Merge remote-tracking branch 'upstream/master' into dev/api
Commit migrated from https://github.com/dotnet/corefx/commit/ea0cc674b8116a10c18c2879390c39ec08df8020
2016-09-01 11:30:16 -07:00
David Shulman 935520c1dc Disable most networking tests for default CI runs
Lately, the CI system and test server infrastructure has been overloaded with many PRs. This is causing many networking tests to randomly fail due to resource exhaustion caused by so many simultaneous PR runs on the same CI machines. This occurrs not only when using an external test server endpoint (corefx-net.cloudapp.net) but also loopback servers.

To improve engineering efficiency for the team, we are moving most of the tests in the networking libraries from the default CI runs (innerloop). For developers working on networking libraries, the networking tests can be run by invoking the "outerloop" tests.

We will not be allowing any merges of PRs in the networking libraries unless the outerloop tests are also run by the developer.

This affects tests in the following libraries right now:

* System.Net.Http
* System.Net.Http.WinHttpHandler
* System.Net.Sockets
* System.Net.Security
* System.Net.WebSockets.Client

I will be working on fine tuning these exclusions (issue dotnet/corefx#11345) to try to bring back tests into the innerloop runs when we have begun to address the infrastructure issues.


Commit migrated from https://github.com/dotnet/corefx/commit/defbb8afd11b317f6b5cc2f4422a03d701b6dba3
2016-09-01 11:23:40 -07:00
Andrew Stanton-Nurse 9bf3cbbb94 fix dotnet/corefx#11309 in WebSockets by throwing when the underlying connection is closed
Commit migrated from https://github.com/dotnet/corefx/commit/f7acbd681641e77b4fb3d4e9e009179f3af39dca
2016-09-01 10:35:56 -07:00
dotnet-bot dba1111349 Update CoreFx to beta-24501-02
Commit migrated from https://github.com/dotnet/corefx/commit/3a8894d373c2ef2814265363d70ff0c09bbf36be
2016-09-01 14:38:48 +00:00
dotnet-bot 75194b0891 Update CoreClr, CoreFx, External to beta-24431-03, beta-24501-01, beta-24501-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/b2704a1b772c5478cecbb7e9e6d2c02866e0b943
2016-09-01 05:24:53 +00:00
Lakshmi Priya Sekar bf56168dfc Update xunit.netcore.extensions version.
Commit migrated from https://github.com/dotnet/corefx/commit/193dbf7f96120b2bb2ce95cf48576abae5db33bd
2016-08-31 12:55:52 -07:00
dotnet-bot 6606d42d64 Update CoreClr, CoreFx, External to beta-24431-02, beta-24431-01, beta-24431-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/d0fb971379e06a252337b387816337a8fa982903
2016-08-31 09:11:00 +00:00
Eric St. John e6e5ed7c59 Remove PackageTargetFramework usage
Commit migrated from https://github.com/dotnet/corefx/commit/c3042ed04fa3a246c544a7ead7d564b1d43e9862
2016-08-30 15:30:50 -07:00
dotnet-bot ddc164fae1 Update CoreClr, CoreFx, External to beta-24430-01, beta-24430-01, beta-24430-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/da73762cccc73f9eeb8aa7e906b4255fc63433d4
2016-08-30 06:23:40 +00:00
dotnet-bot 05cdb1c739 Update CoreClr, CoreFx, External to beta-24425-04, beta-devapi-24424-01, beta-24424-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/c4a64f09e5f959e5e4df8e43117593cc638b1e23
2016-08-25 18:29:39 +00:00
Eric St. John 068e51cb68 Clean up redundant AssemblyVersion properties
These are now redundant to the property defined in src\<lib>\dir.props.


Commit migrated from https://github.com/dotnet/corefx/commit/765ea591f0dd0079e8f71125ca22c8f31d119528
2016-08-24 06:48:04 -07:00