Chromium Code Reviews| 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 f2af810a7b48daf3deccc73854daec8b31b764a8..a74e326083b30fbfc3212070f6f899f0f4631105 100644 |
| --- a/pkg/analysis_server/test/physical_resource_provider_test.dart |
| +++ b/pkg/analysis_server/test/physical_resource_provider_test.dart |
| @@ -32,10 +32,8 @@ main() { |
| group('Watch', () { |
| Future delayed(computation()) { |
|
Bob Nystrom
2014/06/04 15:48:29
Is this delay still needed? If so, leave a brief c
Anders Johnsen
2014/06/10 06:47:14
Done.
|
| - // On Windows, watching the filesystem is accomplished by polling once |
| - // per second. So wait 2 seconds to give time for polling to reliably |
| - // occur. |
| - return new Future.delayed(new Duration(seconds: 2), computation); |
| + return new Future.delayed( |
| + new Duration(milliseconds: 100), computation); |
| } |
| watchingFolder(String path, test(List<WatchEvent> changesReceived)) { |