Commit Graph

19006 Commits

Author SHA1 Message Date
Brennan 49f2364991
StopAsync resets state on inactive connection (#20083) 2020-03-23 16:59:03 -07:00
John Luo 6912dda560
Add gRPC interop tests (again) (#20069)
* Revert "Revert "Add gRPC interop tests (#17040)" (#20047)"

This reverts commit 236dcd9fbe.

* Fix daily and quarantine Helix runs

* Cleanup
2020-03-23 13:29:50 -07:00
Andrew Stanton-Nurse 0d80ffa6cd
Fix #10756 by removing some previously-obsoleted SignalR methods (#20015)
* fixes #10756 by removing previously-obsoleted APIs in SignalR

* update reference assemblies

* missed a ref

* think I fixed the test
2020-03-23 20:26:39 +00:00
Ryan Rowse ec10429430
Remove PortablePdbReader except trace cleanup (#19957)
* Remove PortablePdbReader except trace cleanup

Co-authored-by: Rowse <ryan.rowse@jbtc.com>
2020-03-23 11:46:50 -07:00
Steve 56d50e677b
Fix SSR issues for SignalR: require is not defined (#19832) 2020-03-23 09:32:58 -07:00
Kevin Pilch 236dcd9fbe
Revert "Add gRPC interop tests (#17040)" (#20047)
This reverts commit 8afb78fb95.
2020-03-21 06:04:28 +00:00
James Newton-King 8afb78fb95
Add gRPC interop tests (#17040)
* WIP add interop tests

* Clean up

* Move test project into build infrastructure

* Clean up

* Remove hardcoded paths

* Clean up

* Fix build

* Add copyright notices

* Update azure template

* Fix build

* Fix build?

* Fix build?

* Add gRPC interop tests to CI

- Convert to using references managed by build infrastructure
- Use produced AspNetCore.App shared framework
- Save server logs
- Dynamically bind to ports
- Ensure InteropWebsite is built in the same configuration as the test project

* Cleanup

* Rebase fix

* Include tests assets in build directory for Helix

* Incorporate changes in ProcessEx

* Include Grpc test in regular build

* Fixup

* Test

* exe doesn't always exist

* Capture logs on helix

* Maybe this will work

* There are two application started messages

* Derp

* Cleanup

* Update directory

* Add interop tests to more pipelines

* mkdir

Co-authored-by: John Luo <johluo@microsoft.com>
2020-03-20 19:32:45 -07:00
William Godbe 28dfd0b7c2
Quarantine 2 flaky tests (#20032) 2020-03-20 15:26:49 -07:00
TeBeCo d3e10b7def
Adding reference to MessagePackAnalyzer to check for MsgPack001 / MsgPack002 (Banned API) (#19989) 2020-03-19 16:05:45 -07:00
William Godbe aff01ebd7f
Correct permalink to publishing.props (#20011) 2020-03-19 14:45:32 -07:00
Brennan f4d81e3af2
Quarantine template test (#19976) 2020-03-19 12:47:02 -07:00
William Godbe 6301eefbc3
Add comments cautioning against changing DeveloperCertificates.XPlat (#19923)
* Add comments cautioning against changing DeveloperCertificates.XPlat

* Fix bad comment ending
2020-03-19 12:27:28 -07:00
William Godbe ced13c28cc
Quarantine a flaky test (#20003) 2020-03-19 12:27:03 -07:00
Brennan 44812e1637
Skip flaky TS client test (#20004) 2020-03-19 11:33:37 -07:00
Artak 8709405efd
Skipping tests which were running too long (#19978)
* Update RevalidatingServerAuthenticationStateProvider.cs

* Update HealthCheckPublisherHostedServiceTest.cs

* Skipped long-running tests
2020-03-18 18:01:21 -07:00
James Newton-King 8531e2e83f
Fix flaky FlowControl_ParallelStreams_FirstInFirstOutOrder (#19977) 2020-03-19 13:03:52 +13:00
Tom Deseyn cef755fd82
Add SocketTransportOption to enable/disable WaitForData (#19396) 2020-03-18 14:57:01 -07:00
Andrew Stanton-Nurse 98ce12714a
Update XML docs for OnStarting (#19534) 2020-03-18 13:58:46 -07:00
Brennan 3138b1913d
More quarantining (#19959) 2020-03-18 10:07:30 -07:00
James Newton-King 84269f3894
Use resettable awaitable in flow control (#19783) 2020-03-18 15:27:49 +13:00
Brennan 9112030a3c
Quarantine some tests (#19932) 2020-03-17 16:31:24 -07:00
Patrick Goode ae192af856
Make change for #18729 (#19756) 2020-03-17 22:22:28 +00:00
Andrew Stanton-Nurse 35b3cb75af
Update H2SpecTests.cs (#19751) 2020-03-17 21:56:24 +00:00
Brennan f5a2245957
Use xunit.runner.json in Helix runs (#19922) 2020-03-17 12:26:40 -07:00
github-actions[bot] 99c9b8ace1
Sync shared code from runtime (#19918)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-03-17 16:48:02 +00:00
Pranav K 715ed24382
Don't ship Wasm.Performance.Driver (#19906) 2020-03-17 09:16:53 -07:00
Vyacheslav Napadovsky 01cc669960
Bugfix for Microsoft.AspNetCore.Identity.Base32.ToBase32 function (#19621)
* Bugfix for Microsoft.AspNetCore.Identity.Base32.ToBase32 function

* Add Base32 class tests
2020-03-16 21:15:03 -07:00
Brennan 2a1cc04a32
Ignore bad restore sources (dotnet-watch tests) (#19893) 2020-03-16 12:59:50 -07:00
Brennan 37c2a882c4
Use Node-Fetch instead of Request for TS client (#19708) 2020-03-13 17:39:25 -07:00
Brennan 25b4f8069d
Add environment variables for Launcher path and args in ANCM (#19797) 2020-03-13 16:07:16 -07:00
Brennan fdaa334567
[ANCM] Add switch to prefer env over web.config (#19746) 2020-03-11 15:53:41 -07:00
James Newton-King 56a64a6ff0
Avoid string allocation when converting zero (#19732) 2020-03-12 09:52:12 +13:00
James Newton-King 88b134f877
Reuse Http2MessageBody (#19629) 2020-03-12 09:38:29 +13:00
Julio Avellaneda 8ad0f1fbe6
Update gitter url (#19755)
Update gitter url.
2020-03-11 09:31:59 -07:00
Brennan e00a7c4d52
Increase logging in TS functional tests (#19582) 2020-03-10 07:51:27 -07:00
Pranav K 7e0e50f052
Merge pull request #19726 from dotnet/prkrishn/merge-5.0-preview2
Merge 5.0-preview2
2020-03-10 07:37:11 -07:00
Hao Kung bc6bc2d22c
Reenable Components analyzers on helix (#19721) 2020-03-09 22:14:20 -07:00
James Newton-King 92e98b7ede
Read server response in Http2ConnectionBenchmark (#19694) 2020-03-10 15:50:16 +13:00
James Newton-King cd6e6ae0bc
Reuse Http2OutputProducer.ProcessDataWrites task (#19695) 2020-03-10 15:45:24 +13:00
Andrew Stanton-Nurse 8ec31594ea
Fix #2442 by adding webmanifest extension to content-type map (#19661) 2020-03-09 17:30:54 -07:00
Guillaume Nury 58c13c312e
Support nullable enum in InputSelect (#19506)
As BindConverter supports Nullable enums (here), call it if the underlying type has type of enum.

Addresses #13624
2020-03-09 16:00:35 -07:00
Pranav K 54d6d7292d
Merge remote-tracking branch 'origin/release/5.0-preview2' 2020-03-09 15:51:52 -07:00
Doug Bunting c4305ff51e
Merge pull request #19655 from dotnet-maestro-bot/merge/release/5.0-preview2-to-master
[automated] Merge branch 'release/5.0-preview2' => 'master'
2020-03-09 15:00:23 -07:00
Pranav K 72bb72f11c
Quarantine Blazor-Ignitor based tests (#19667) 2020-03-09 14:28:51 -07:00
Pranav K 19d49670a6
Update MvcTemplateTest.cs 2020-03-09 13:39:59 -07:00
Pranav K fb0abb968f
Quarantine template tests thaat require artifacts 2020-03-09 13:28:12 -07:00
Pranav K 8cd77358ea
Merge branch 'master' into merge/release/5.0-preview2-to-master 2020-03-09 10:30:10 -07:00
Justin Kotalik 3a971ef253
Change quic package name to experimental (#19657) 2020-03-09 09:03:48 -07:00
John Luo aebb921320
Re-enable AssemblyTestLogTests (#19686) 2020-03-08 22:19:55 -07:00
Hao Kung 124a0b6b38
[Helix] Reenable some template tests again (#19520) 2020-03-08 14:05:06 -07:00
David Fowler ddedfc64c9
Use a property instead of a method (#19690)
- Rename GetTrasnsport to TransportConnection
2020-03-08 12:44:30 -07:00
Artak 5af0c471dd
Unquarantined the OpenApi tests (#19684) 2020-03-07 22:15:53 -08:00
John Luo 54b506e572 Skip some tests on Helix 2020-03-07 17:45:10 -08:00
John Luo ce636c5afb Update 2020-03-07 14:20:32 -08:00
John Luo 07f5ddb6ac Merge branch 'darc-master-0953e74e-e47a-4645-b853-e2b467f3762c' into johluo/migrate-logging-testing 2020-03-07 13:24:03 -08:00
Doug Bunting 5c6c1e9bdc
Merge branch 'master' into merge/release/5.0-preview2-to-master 2020-03-07 12:31:07 -08:00
Andrew Stanton-Nurse f9cb6f4295
fix #19571 by removing dataprotection.azure packages (#19572) 2020-03-06 16:46:42 -08:00
Brennan f053620895
[SignalR] Avoid deadlock with closing and user callbacks (#19612) 2020-03-06 15:25:51 -08:00
John Luo 9f56862320
Build aspnetcore for win-arm64 (#19317)
* Build for win-arm64

* Missed file

* Disable Selenium tests on arm64

* Include installers in the uploaded artifacts
2020-03-06 14:47:29 -08:00
John Luo d2b67cad82 Feedback 2020-03-06 12:42:42 -08:00
John Luo 82c87d678b Use QuarantinedTest 2020-03-06 11:22:54 -08:00
Andrew Stanton-Nurse 850240804c
Skip Interop.FunctionalTests on arm (#19648)
there's no h2spec build for it
2020-03-06 11:19:22 -08:00
John Luo 765ccfdbc1 Merge branch 'release/5.0-preview1' 2020-03-06 11:11:33 -08:00
James Newton-King 7cb9029a0f
Fix StreamPool_StreamIsInvalidState_DontReturnedToPool (#19622) 2020-03-06 18:31:35 +00:00
github-actions[bot] e886169745
Sync shared code from runtime (#19636)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-03-06 10:08:04 -08:00
msftbot[bot] 46aa8365cc
Update Http2ConnectionTests.cs (#19616) 2020-03-05 23:04:27 +00:00
Andrew Stanton-Nurse 9458ebb543
try re-enabling http2 interop tests on helix (#19573) 2020-03-05 11:30:24 -08:00
James Newton-King 0db0640e6b
Reuse HTTP2 stream pipes to reduce allocations (#19356) 2020-03-06 08:15:31 +13:00
msftbot[bot] 557bcd9ec5
readme update (#19553)
Co-authored-by: Justin Kotalik <jukotali@microsoft.com>
2020-03-05 18:50:24 +00:00
James Newton-King f37a750912
Add functional test for header string reuse in HTTP/1.1 (#19588) 2020-03-06 07:42:26 +13:00
James Newton-King 487a0f6a5d
Add HeaderEnumerator tests (#19585) 2020-03-06 07:41:12 +13:00
Brennan f910345469
Enable detailed msbuild verbosity for user secrets (#19516) 2020-03-05 08:39:58 -08:00
John Luo f05e019271
Merge branch 'master' into johluo/migrate-logging-testing 2020-03-04 22:17:06 -08:00
John Luo c181547864 Migration fixup for Logging.Testing 2020-03-04 22:10:12 -08:00
James Newton-King 5aa86873c3
Add HTTP/2 HPack static compression (#19521) 2020-03-05 17:08:53 +13:00
John Luo 6baba15cdc Merge branch 'master' of ..\extensions2\ into johluo/migrate-logging-testing 2020-03-04 17:46:27 -08:00
James Newton-King 3925546732
Reset Http2Stream when it starts (#19589) 2020-03-05 14:28:02 +13:00
Artak d71a61ded8
Quarantine the `ReactTemplate_IndividualAuth_NetCore` test (#19584) 2020-03-04 16:34:31 -08:00
Artak 4192a023f5
Mark tests as flaky (#19415)
* Mark tests as flaky

* Update ComponentHubReliabilityTest.cs

* Update InteropReliabilityTests.cs

* Update ServerComponentRenderingTest.cs

* Update ServerComponentRenderingTest.cs
2020-03-04 15:26:19 -08:00
msftbot[bot] 54d71af00d
Add example for UserLoginInfo's ProviderDisplayName property (#19357) 2020-03-04 21:07:18 +00:00
Andrew Stanton-Nurse 3b4be4f51a
Quarantining some tests (#19568) 2020-03-04 11:27:55 -08:00
msftbot[bot] 648d9e37a9
Fixed Typo in UrlDecoder.cs (#19565) 2020-03-04 18:18:07 +00:00
Brennan 56fb4b4d2f
Rename Flaky attribute (#19469) 2020-03-04 08:10:18 -08:00
Justin Kotalik cda762685a
Allow cert file and private key file to be passed in (#19477) 2020-03-03 20:42:46 -08:00
Sedat Kapanoglu 7e139c9b5f
Add HeaderNames.XRequestedWith = "X-Requested-With" (#19470)
* Add HeaderNames.XRequestedWith = "X-Requested-With"

X-Requested-With is the standard for differentiating AJAX requests and is commonly used. Having this in HeaderNames would prevent typos related to typing this header name. I couldn't find any rationale about excluding this but there might be legitimate reasons like discouraging the use of HTTP headers or differentiating AJAX requests, etc. Please reject this if that's the case.

* Replace "X-Requested-With" references with HeaderNames.XRequestedWith

The only remaining instance is WebSocketsTransport.cs in
SignalR\clients\csharp\Http.Connections.Client which doesn't have
Microsoft.Net in its references. I didn't want to impose a new
dependency as its risky.

* Fix the order of using statements

* Add XRequestedWith to the ref assembly
2020-03-03 15:45:50 -08:00
James Newton-King 065f0d001c
Only reset Http2Stream on stream completion (#19431) 2020-03-04 08:37:31 +13:00
William Godbe 3df570fac6
Don't reference checked-in platform manifest (#19529) 2020-03-03 10:36:49 -08:00
Chris Ross 21068e0a45
Update shared code license headers (#19518) 2020-03-03 09:57:24 -08:00
Justin Kotalik 2c4d604ceb
Fix warning about dotnet_exe_path_tests.cpp (#19515) 2020-03-02 22:06:13 -08:00
Hao Kung 46460f0070
Revert "[Helix] Reenable some Templates tests 2.0 (#19383)" (#19519)
This reverts commit 5e2a7726c6.
2020-03-03 04:43:48 +00:00
James Newton-King b1a45eb809
Update BenchmarkDotNet and add Http2Connection benchmark (#19482) 2020-03-03 17:17:06 +13:00
James Newton-King f34e8128c7
Eliminate HTTP2 HPack enumerator allocations (#19393) 2020-03-03 12:37:34 +13:00
Hao Kung 5e2a7726c6
[Helix] Reenable some Templates tests 2.0 (#19383) 2020-03-02 11:43:34 -08:00
James Newton-King 41a3c63bc5
Add HTTP/2 pseudo headers as known headers (#19457) 2020-02-29 16:00:34 +13:00
Artak 8338060145
Update precedence and Identity of templates for 5.0 (#19248) (#19377)
Co-authored-by: Ryan Brandenburg <rybrande@microsoft.com>
2020-02-28 13:19:02 -08:00
James Newton-King f8f7472161
Fix flaky stream pool test (#19425) 2020-02-29 09:31:55 +13:00
Andrew Stanton-Nurse e65408a36c
unquarantine a pile of long-passing tests (#19440) 2020-02-28 19:02:58 +00:00
Safia Abdalla f0ac5b07ee Fix copy/paste type in test asset 2020-02-27 11:56:17 -08:00
Safia Abdalla 677a1b5be7 Add tests for short values in BindTests 2020-02-27 11:56:17 -08:00
Safia Abdalla 1407d9ab05 Update reference assemblies for modified components 2020-02-27 11:56:17 -08:00