Commit Graph

36 Commits

Author SHA1 Message Date
Nate McMaster 1e41958884
Merge branch 'release/2.2' 2018-10-02 09:23:42 -07:00
Nate McMaster 4c49d5ce80
Resolve flaky tests (#497)
1. Prevent an ObjectDisposedException in dotnet-watch on slower machines
2. Fix flakiness caused by PID reuse
3. Fix flakiness in tests that await the restart of dotnet-watch. The `.TimeoutAfter` method doesn't cancel the long-running task. This left 2 readers running on dotnet-watch output which caused indeterminate test outcome.
2018-10-02 09:17:04 -07:00
Nate McMaster fca90fe6be
Merge branch 'release/2.2' 2018-07-30 15:57:46 -07:00
Nate McMaster 4baed363e5
Close #467 - fix race conditions in tests that restart a watchable app
* Ensure the test app is actually watching for file changes before attempting to trigger a restart.
* Add retry if the first attempt times out
2018-07-30 15:54:16 -07:00
Nate McMaster 26d9ef2ad7
Upgrade to netcoreapp3.0 2018-07-03 14:52:59 -07:00
Nate McMaster e74907d6bf
Resolves #444 - remove workaround for CTRL+C deadlocks 2018-05-31 20:16:06 -07:00
Nate McMaster 83134227ab
Add support for DOTNET_WATCH_ITERATION (#443)
This environment variable can be used to determine how many types the inner command has been re-launched

Resolves #387
2018-05-24 08:24:56 -07:00
Nate McMaster 6272b3625e
Dispatch cancellation on CTRL+C to avoid deadlocks in killing the process tree 2018-05-15 14:50:26 -07:00
Pranav K 78236286b4
Upgrade tools to netcoreapp2.2 2018-05-09 14:44:43 -07:00
Artak ddc478ab87
Added using block around a disposable type usage
Noticed this when reviewed an already-merged PR
2018-05-09 09:47:48 -07:00
Nate McMaster 07517187b6
Merge branch 'release/2.1' into dev 2018-05-08 16:04:20 -07:00
Nate McMaster e1e2970a41
Refactor MultipleTriggers test to better handle multiple events raised on the same file 2018-05-08 15:51:12 -07:00
Ryan Brandenburg f71dad1055 Upgrade to netcoreapp22 2018-05-08 12:04:40 -07:00
Nate McMaster 341ba98d27
[dotnet-watch] Don't show false error messages (#434) 2018-05-07 10:52:47 -07:00
Nate McMaster e5da690702
Attempt to address flaky dotnet-watch tests 2018-05-03 20:15:03 -07:00
Nate McMaster 3193f45bae
Attempt to address flaky dotnet-watch tests 2018-05-03 18:01:56 -07:00
Nate McMaster 9b5015d6fe
Ensure restore settings and package versions flow into test projects during CI builds 2018-04-04 22:25:34 -07:00
Nate McMaster 6d4a632b96
Fix race condition in test code waiting for dotnet-watch to restart 2018-04-02 10:10:57 -07:00
Ryan Brandenburg 1f41b26145 Skip broken test 2018-03-30 15:19:20 -07:00
Nate McMaster d51a6951c7
Add more logging for flaky tests on CI (#393) 2018-02-12 12:29:13 -08:00
Ryan Brandenburg 74229e57db Fix FunctionalTests on fresh system 2018-01-10 15:49:59 -08:00
Nate McMaster 261b27b700 Port CLI tools to be dotnet global tools
- Rename package IDs to dotnet-watch, dotnet-user-secrets, and dotnet-sql-cache
- Change packaging layout to support dotnet-install-tool
- Change package metadata to DotnetTool
- Drop support for DotNetCliToolReference (those will continue to be available under previous package ID's)
- Rename project files and folders
2017-12-29 08:42:36 -08:00
moozzyk afe01eedbf Renaming dotnet-watch folders to Microsoft.DotNet.Watcher.Tools 2016-04-19 10:38:59 -07:00
Victor Hurdugaci cf465b2001 Fix tests on unix and make tests more reliable on all platforms 2016-04-13 16:08:10 -07:00
moozzyk e054eac3bd Fixing tests to use the package that was just built
Disabling parallel run to prevent random issues
Adding additional details that should help diagnose failures
2016-04-13 10:57:53 -07:00
moozzyk 8f1f3c0772 Add a polling watcher 2016-04-13 09:52:55 -07:00
moozzyk 46d4c6edcb Updating dotnet-watch to netstandard 2016-04-12 09:46:12 -07:00
Pranav K 0e69fc2b17 Reacting to CoreCLR package changes 2016-03-19 12:56:35 -07:00
Pranav K f75ce04c4c Reacting to CoreCLR package changes 2016-03-19 12:41:52 -07:00
Pranav K b5e2d43859 Retarget tests to netstandardapp 2016-03-19 12:10:40 -07:00
John Luo 73217edba5 Update package name 2016-03-17 16:36:27 -07:00
John Luo 4df44c8501 Use KillTree from Common 2016-03-16 18:02:59 -07:00
Victor Hurdugaci bc382be632 Fix the tests that hang 2016-03-10 11:50:18 -08:00
Pranav K bef340a2c3 Remove extra dependencies that produce NuGet warnings 2016-03-09 12:52:50 -08:00
Victor Hurdugaci 52244da9e8 Temporary disable the tests that hang while investigating 2016-03-04 10:11:01 -08:00
Victor Hurdugaci c43c37e7f9 - E2E test
- File watcher that takes the globbing patterns into account
- A big rewrite of the core algorithm
2016-03-03 13:46:45 -08:00