Commit Graph

32770 Commits

Author SHA1 Message Date
Doug Bunting d102d10a81 Update branding to 2.2.3
- new version
- update baselines
- grab latest released Microsoft.NetCore.App and Microsoft.NETCore.DotNetAppHost

nit:
- updated ZipManifestGenerator's README.md to use 2.2 examples
2019-02-13 23:15:58 -08:00
James Newton-King 05895cde64
Fix endpoint routing flaky test on build server in 2.2 (#7489) 2019-02-14 17:48:22 +13:00
Doug Bunting 447306cbb9
Merge branch 'release/2.1' into release/2.2 2019-02-12 19:32:03 -08:00
Doug Bunting 5bb5bafbed Update branding to 2.1.9 2019-02-12 19:12:20 -08:00
BrennanConroy 2365dced43
Fix flaky process output reading for dotnet-watch tests (#7173) 2019-02-08 14:37:53 -08:00
Stephen Halter 9c41d5b48f
Fix flaky CanUpgradeRequestWithConnectionKeepAliveUpgradeHeader test (#7323)
* Randomize MockSystemClock
2019-02-07 11:56:10 -08:00
Pavel Krymets 0211e894fe
Use Win32 as native platform (#7309) 2019-02-06 12:17:55 -08:00
Doug Bunting af463acc38
Merge branch 'release/2.1' into release/2.2 2019-02-04 20:53:34 -08:00
Doug Bunting f5ca141e9d
Kill processes after completing build and before publishing test results or artifacts (#7228)
- aspnet/AspNetCore-Internal#1735
- port aspnet/Extensions@e2bb8ac1a0 fix into this repo
  - change `default-build.yml` instead of `azure-pipelines.yml`
  - make a couple of changes to `KillProcesses.ps1` (which I'll take back to Extensions)
- remove `ci-official.yml`
2019-02-04 16:19:31 -08:00
Doug Bunting 2ff4dd5b7e
Merge branch 'release/2.1' into merge 2019-02-01 14:49:05 -08:00
Pranav K c1a756c575 Skip test on OSX until this can be further diagnosed 2019-02-01 13:34:39 -08:00
Doug Bunting bb8c6fcd46
Remove aspnet/Scaffolding submodule (#7166)
- aspnet/AspNetCore-Internal#1341
- remove Scaffolding references from `build/artifacts.props`, `build/buildorder.props`, `build/submodules.props`, and our templates
- add versions for these packages in `build/dependencies.props` to enable their inclusion in the package archives
2019-02-01 10:15:49 -08:00
Pranav K 51ec523d9e Attempt to install chromium as part of restore instead of running the CORS tests
One more go at https://github.com/aspnet/AspNetCore-Internal/issues/1619
2019-01-31 16:32:35 -08:00
Pranav K dbc4aaa298
Merge pull request #6807 from dotnet-maestro-bot/merge/release/2.1-to-release/2.2
[automated] Merge branch 'release/2.1' => 'release/2.2'
2019-01-31 10:24:34 -08:00
Pranav K 62d27bcd3e
Merge branch 'release/2.2' into merge/release/2.1-to-release/2.2 2019-01-31 09:37:09 -08:00
Pranav K 93214b465c Move Cors Functional tests to a separate test group
Attemp #2 at addressing https://github.com/aspnet/AspNetCore-Internal/issues/1619

Puppetteer will attempt to download chromium as part of running the test. This seems odd, but
it might explain why this might be afflicted with the file descriptor contention issues that
the mondo repo tests encounter.

Moving these out in to a separate test group to see if this helps

Possible fix for https://github.com/aspnet/AspNetCore-Internal/issues/1619
2019-01-29 15:18:39 -08:00
Javier Calvarro Nelson 8958bdee2e
[ApiAuthorization] Make test more reliable (#7092) 2019-01-29 11:48:42 -08:00
Pranav K 29898df8a8
Attempt to run Cors functional tests with watchman disabled. (#7076)
According to https://github.com/facebook/jest/issues/2219, jest will
not run tests if watchman is installed. It is not entirely clear if
this is the case in our OSX CI environment, but the symptoms seem close
to what's reported in the issue.

Possible fix for https://github.com/aspnet/AspNetCore-Internal/issues/1619
2019-01-28 16:44:56 -08:00
Pavel Krymets 3ea1f6a0e9
Disable ResponseFormats_Chunked test (#6952) 2019-01-25 21:03:18 -08:00
Murat Girgin 522705f9a2
Merge pull request #6994 from aspnet/halter73/1531-part2
Revert "Wait to dispose RequestAborted CTS (#4447)"
2019-01-24 14:46:35 -08:00
Stephen Halter 2853b451a2 Add RequestAbortedTokenIsUsableAfterCancellation test 2019-01-24 12:38:16 -08:00
Stephen Halter 5d554aeecd Revert "Wait to dispose RequestAborted CTS (#4447)"
This reverts commit 0622513058.
2019-01-24 11:23:58 -08:00
Chris Ross f4c5ac7635
Move Kestrel.Core.Tests to their own test group (#6927) 2019-01-22 12:41:12 -08:00
Chris Ross 31d57a5756
Move Kestrel Sockets tests to their own group (#6869) 2019-01-22 08:58:33 -08:00
Chris Ross 9dee5d7e26
Move identity functional test to their own group (#6865) 2019-01-18 19:29:46 -08:00
John Luo 8c06f04d50
Call StopAsync before disposing (#6189) (#6866) 2019-01-18 18:30:54 -08:00
Nate McMaster a2151cb89a
Do not include prodcon build ID in version metadata
This causes problems for npm pack in a prodcon build. We don't need this version metadata, so let's remove it altogether.
2019-01-17 11:04:07 -08:00
Pavel Krymets 829cd7271e
Fix signing for 2.2 site extensions (#6777) 2019-01-17 10:42:58 -08:00
Pranav K a65e34bd30 Revert "Revert "Put Razor.Design.Test and Razor.Language.Test in a different test group (#6725)" (#6753)"
This reverts commit 9831238b7c.
2019-01-17 10:02:03 -08:00
Nate McMaster c992f0d5d2
Fix NU1604 error during prodcon builds (#6806) 2019-01-17 09:40:10 -08:00
Ajay Bhargav Baaskaran 4c1a375a2c Merge branch 'release/2.1' into release/2.2 2019-01-16 14:52:13 -08:00
Ajay Bhargav Baaskaran ad31f9429d
Fix failing Razor file comparison tests (#6757) 2019-01-16 14:41:50 -08:00
Ajay Bhargav Baaskaran 18425ed192
Merge branch release/2.1 to release/2.2 (#6754)
* Put Razor.Design.Test and Razor.Language.Test in a different test group (#6725)

* Move dotnet watch to a seperate test group (#6730)

* Reuse root `version.props` in Templating
- do not let Templating get behind branding changes

* Revert "Put Razor.Design.Test and Razor.Language.Test in a different test group (#6725)" (#6753)

This reverts commit 563ff7c639.

* Revert file watch test changes
2019-01-16 14:40:45 -08:00
Justin Kotalik 5b56de94fd
Allow disabling shared configuration check from hosting bundle. (#6498) 2019-01-16 12:04:36 -08:00
Ajay Bhargav Baaskaran 9831238b7c
Revert "Put Razor.Design.Test and Razor.Language.Test in a different test group (#6725)" (#6753)
This reverts commit 563ff7c639.
2019-01-16 11:06:44 -08:00
Doug Bunting 99eba6972f Reuse root `version.props` in Templating
- do not let Templating get behind branding changes
2019-01-16 09:24:28 -08:00
Pavel Krymets f44c175ec6
Enable logging branch SiteExtension (#6715) 2019-01-16 08:56:12 -08:00
Justin Kotalik dce7a3a1b6
Merge pull request #6723 from dotnet-maestro-bot/merge/release/2.1-to-release/2.2 2019-01-16 08:55:34 -08:00
Justin Kotalik 959445b271 Target netcoreapp2.2 2019-01-15 22:29:08 -08:00
Pavel Krymets 12a479d1f6
Move dotnet watch to a seperate test group (#6730) 2019-01-15 17:18:28 -08:00
Ryan Nowak 3e5b37f22c Fix #6102 - Intense CPU utilization on page change (#6542)
* Fix #6102 - Intense CPU utilization on page change

The issue here was that every time a Razor Page changed, we would
subscribe an additional time to the endpoint change notifications. This
means that if you tweaked a page 30 times, we would update the address
table 31 times when you save the file. If you were doing a lot of editing
then this would grow to a really large amount of computation.

The fix is to use DataSourceDependentCache, which is an existing utility
type we developed for this purpose. I'm not sure why it wasn't being
used for this already. We're already using DataSourceDependentCache in a
bunch of other places, and it's well tested.

I also tweaked the stucture of this code to be more similar to
EndpointNameAddressScheme. This involved some test changes that all
seemed like good cleanup. The way this was being tested was a little
wonky.

(cherry picked from commit a5658a8c95)
2019-01-15 16:55:27 -08:00
Justin Kotalik 4a2a8942d4 Cleanup 2019-01-15 16:44:10 -08:00
Justin Kotalik eacffd56b7 Merge branch 'release/2.1' into release/2.2 2019-01-15 16:37:34 -08:00
Ajay Bhargav Baaskaran 563ff7c639
Put Razor.Design.Test and Razor.Language.Test in a different test group (#6725) 2019-01-15 15:49:13 -08:00
James Newton-King cd308e7a8b
Fix HttpContext not being passed to constraints in link generation (#6644) 2019-01-16 12:00:57 +13:00
James Newton-King 92680b355f
Change consumes behavior to ignore requests with no content type (#6645) 2019-01-16 11:55:54 +13:00
Stephen Halter 0622513058
Wait to dispose RequestAborted CTS (#4447) 2019-01-15 14:54:10 -08:00
James Newton-King 180f735ac8
Fix non-parameter route constraints not called with endpoint routing for 2.2 (#6587) 2019-01-16 11:16:35 +13:00
Nate McMaster fe20f9240d Fix #3503 - update buildtools dependency on DependencyModel to 2.1.0
The 2.0 version of the Microsoft.Extensions.DependencyModel does not
support the assembly/file version metadata. We must have at least 2.1.

Between 2.1.6 and 2.1.7, we switched the build to use MSBuild.exe
("full" MSBuild) instead of `dotnet msbuild` ("core" MSBuild). MSBuild
has different assembly loaders behaviors in core vs full. By switching
MSBuild types, we were also unintentionally switching the version of
Microsoft.Extensions.DependencyModel.dll that was being used by our build
 task from 2.1 back down to 2.0.

The reason we didn't discover this in earlier 2.1.x patches is that
building on msbuild core automatically upgraded our build tasks to
Microsoft.Extensions.DependencyModel.dll, Version=2.1.0.0. This happens
because of differences in the way .NET Core and MSBuild handles
assemblies with the same ID and different versions, and differences in
the layout of MSBuild and the .NET Core CLI.

In the end, this happened because we didn't have test coverage. MSBuild
and custom tasks burned asagain, but we should have just had unit tests
all along, which would have uncovered this regression as soon as we
switched to msbuild.exe.
2019-01-15 13:39:01 -08:00
Justin Kotalik e751db0739
Make Auth Samples Project Ref (#6557) 2019-01-15 13:12:54 -08:00