Commit Graph

490 Commits

Author SHA1 Message Date
Javier Calvarro Nelson 95a2208530
[Templates] Unquarantine some tests that have been passing for the past month (#21613)
Unquarantine some tests that have been passing for the past month
2020-05-08 09:57:23 -07:00
Christian Wenz 64a0d0396e
Upgrade jQuery in samples to version 3.5.1 (#21577)
Fixes #21572
2020-05-07 14:42:14 -07:00
Doug Bunting fdb0372a67
Upgrade to more recent .NET SDK (#21017)
* Update SDK to preview.5.20251.2
  - includes support for the `net5.0` TFM
  - includes fix for `$(PublishDepsFilePath)`
  - includes fix for incorrect NU5118 warnings when `'$(PackAsTool)' == 'true'`
* !!temporary!! Suppress NU5129 warnings
  - build/ and buildTransitive/ naming conventions do not treat TFMs as equivalent
* Run `InjectRequestHandlerOnPublish` later
  - late enough for .deps file to exist i.e. after the `CopyFilesToPublishDirectory` target
  - `AfterTargets` is a bit flaky; use `BeforeTargets` with empty targets instead
* Always add `@(AssemblyAttribute)` items before they are processed
  - use `BeforeTargets="GetAssemblyAttributes"` for consistently throughout the repo
2020-05-05 21:59:15 -07:00
Javier Calvarro Nelson d6409371ae
[Templates] Diagnostics improvements and certificate fixes (#21493)
* Move template specific helpers out of shared and into templates
* More debug info, fix casing issues
* Keep test skipped
* Undo lock changes
* Standarize retry logic
* Tweak certificate validation code
2020-05-05 19:39:51 -07:00
Javier Calvarro Nelson 8be526a11b
[SPA] Updates SPA dependencies to make npm audit happy (#21324)
* Update react dependencies

* Update angular dependencies

* Update react-redux dependencies
2020-05-05 12:17:48 -07:00
Safia Abdalla 37da482969
Move Blazor Server template tests to new project (#21345) 2020-05-01 11:47:52 -07:00
Safia Abdalla 8271204317
De-quarantine BlazorServerTemplateWorks_IndividualAuth test (#21286) 2020-04-30 12:17:48 -07:00
Christian Wenz f1dcc59255
Update jQuery 2.2 and 3.3.1 in samples to 3.4.1 (#20356) 2020-04-25 11:26:43 -07:00
George 2456e19de2
Use encodeURIComponent instead of encodeURI to support returnURLs with more than one query (#20874)
When return URLs query parameters such as
2020-04-22 09:39:48 -07:00
Brice Lambson 929f68bd87 Use SQLite write-ahead logging and shared caches
This will result in less locking and, thus, greater throughput.
2020-04-21 12:44:22 -07:00
Daniel Eisterhold cf1c5cbb52
Fix content showing on top of sticky header (#20283)
Fix content showing on top of sticky header
2020-04-17 13:21:43 +01:00
Javier Calvarro Nelson 8e1e81ae78
[HTTPS] Update certificate strategy for Mac OS (#20022)
* Fixes and improvements for dotnet-dev-certs:
* Revamps the HTTPS developer certificate tool implementation.
  * It accumulated a lot of cruft during the past few years and that has made making changes harder.
* Separated the CertificateManager implementation into different classes per platform.
  * This centralizes the decision point of choosing a platform in a single place.
  * Makes clear what the flow is for a given platform.
  * Isolates changes needed for a given platform in the future.
* Moved CertificateManager to a singleton
  * No more statics!
* Updates logging to use EventSource
  * We didn't have a good way of performing logging as the code is shared and must run in multiple contexts and the set of dependencies need to be kept to a minimum.
  * Adding ETW allow us to log/monitor the the tool execution and capture the logs with `dotnet trace` without having to invent our own logging.
  * We can decide to write an EventListener in `dotnet-dev-certs` to write the results to the console output.
* Updates the way we handle the dev-cert in Mac OS to use the security tool to import the certificate into the store instead of using the certificate store.
2020-04-16 13:52:10 -07:00
Ryan Brandenburg 820b0b20c0
Remove SPA project template tests (#20863) 2020-04-16 09:19:05 -07:00
John Luo 84a04c9df1
Quarantining tests (#20631)
* Quarantining tests

* Namespace collision
2020-04-08 12:53:53 -07:00
John Luo 75bdd71ebc
Re-enable project template tests (#20529) 2020-04-03 17:48:15 -07:00
Ryan Nowak 8e66833886
Merge pull request #20523 from dotnet-maestro-bot/merge/release/5.0-preview3-to-master
[automated] Merge branch 'release/5.0-preview3' => 'master'
2020-04-03 15:53:41 -07:00
Ryan Nowak 27df28fada Skipping a Blazor template test
This test is causing hangs in quarantine. Adding an explicit skip.
2020-04-03 14:46:04 -07:00
Ryan Nowak 66ae2ba817
Merge branch 'master' into merge/release/5.0-preview3-to-master 2020-04-03 13:13:40 -07:00
Javier Calvarro Nelson 39a24220cf Use pfx file instead of cert from the store 2020-04-03 11:56:22 -07:00
Justin Kotalik 85b1a73f65
Update BlazorServerTemplateTest.cs (#20377) 2020-04-01 09:56:14 -07:00
Brennan ca5cd91d68
Replace RunTests scripts with .NET app (#20337) 2020-04-01 09:01:34 -07:00
Kevin Pilch f34033a415 Add .vsconfig files in root and beside slns 2020-03-31 14:25:44 -07:00
Brennan a421a31095
Quarantine flaky tests (#20261) 2020-03-28 11:03:12 -07:00
John Luo 2080166091
Skip grpc template test (#20197) 2020-03-26 12:02:22 -07:00
Miroslav Kovač cfac5edd15
[Fixes #19852] Remove leading slash on authorization links (#20026)
* Makes the Uris base relative instead host relative.
2020-03-26 07:34:46 -07:00
Ajay Bhargav B f0e6a8933c
Quarantined failing tests (#20165)
* Quarantined failing tests

* Another test
2020-03-25 21:19:58 -07:00
John Luo 20f6d65828
Fix flakiness/timeout in gRPC template tests (#19982)
Do not search for port number for cases where we are testing for failure.
2020-03-25 16:00:27 -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
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
Brennan f4d81e3af2
Quarantine template test (#19976) 2020-03-19 12:47:02 -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
Brennan f5a2245957
Use xunit.runner.json in Helix runs (#19922) 2020-03-17 12:26:40 -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
Hao Kung 124a0b6b38
[Helix] Reenable some template tests again (#19520) 2020-03-08 14:05:06 -07:00
Artak d71a61ded8
Quarantine the `ReactTemplate_IndividualAuth_NetCore` test (#19584) 2020-03-04 16:34:31 -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
Hao Kung 5e2a7726c6
[Helix] Reenable some Templates tests 2.0 (#19383) 2020-03-02 11:43:34 -08: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
Hao Kung 4498058343
[Helix] Shared framework support + Templates tests (#19177) 2020-02-26 12:55:41 -08:00
Sourabh Shirhatti 6631549a67
Add non-TLS endpoint for gRPC (#19252)
* Add non-TLS endpoint for gRPC
2020-02-21 17:25:19 -08:00
John Luo c9dfffbf7b
Merge branch 'master' into johluo/migrating-extensions 2020-02-21 11:55:49 -08:00
John Luo 5f9f1ce183 Merge branch 'master' into johluo/migrating-extensions 2020-02-20 16:44:06 -08:00
John Luo ba6d839f71
Merge branch 'master' into merge/release/3.1-to-master 2020-02-20 16:07:37 -08:00
John Luo 7d1f5d8c0b Updates for extensions migrations
- Multi-target ObjectPool
- Move Embedded.Manifest.Task.Internal.Entry to the public namespace
- Remove ref assemblies from AspNetCore.Testing
- Skip TestPathUtilitiesTest since it's a pattern we want to migrate away from
- Fix FileProviders.Abstractions version in Embedded.*.nuspec
- Add workarounds for project references to FileProviders.Embedded
2020-02-20 14:00:29 -08:00
Brennan Conroy 3c40c64d3d Fix template test 2020-02-20 12:43:21 -08:00
Doug Bunting 782b7c5dcd
Mark BlazorWasm template as non-shipping and disable its associated test 2020-02-20 11:12:07 -08:00
Brennan Conroy 2d066dcd3e Apply some fixes 2020-02-19 14:18:29 -08:00
Javier Calvarro Nelson 7ee3aeb9e0
[SPA] Updates the angular and react dependencies (#19103)
* Update react dependencies

* Update angular dependencies

* Update react-redux dependencies

* Update more react dependencies

* Fix angular issues

* Fix authorize route
2020-02-18 18:09:02 -08:00