Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: pkg/analysis_server/test/physical_resource_provider_test.dart

Issue 313353003: Clean up the Windows watcher. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/watcher/lib/src/directory_watcher/windows.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/physical_resource_provider_test.dart
diff --git a/pkg/analysis_server/test/physical_resource_provider_test.dart b/pkg/analysis_server/test/physical_resource_provider_test.dart
index e3dfdc7b68d6dcf18fdccd104a46d01c3d253357..63f0a0d484941cdc82e10ff5d2a083f93b74d52d 100644
--- a/pkg/analysis_server/test/physical_resource_provider_test.dart
+++ b/pkg/analysis_server/test/physical_resource_provider_test.dart
@@ -32,6 +32,9 @@ main() {
group('Watch', () {
Future delayed(computation()) {
+ // Give the tests 1 second to detect the changes. While it may only
+ // take up to a few hundred ms, a whole second gives a good margin
+ // for when running tests.
return new Future.delayed(
new Duration(seconds: 1), computation);
}
« no previous file with comments | « no previous file | pkg/watcher/lib/src/directory_watcher/windows.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698