| Index: pkg/analysis_server/test/src/plugin/plugin_watcher_test.dart
|
| diff --git a/pkg/analysis_server/test/src/plugin/plugin_watcher_test.dart b/pkg/analysis_server/test/src/plugin/plugin_watcher_test.dart
|
| index 137f068511f0e1f8621a2bfdbbc4f45844238094..622166cbff137490af47f67971a6985740f660de 100644
|
| --- a/pkg/analysis_server/test/src/plugin/plugin_watcher_test.dart
|
| +++ b/pkg/analysis_server/test/src/plugin/plugin_watcher_test.dart
|
| @@ -66,6 +66,12 @@ class PluginWatcherTest {
|
| .convertPath('/pkg2/tools/analysis_plugin/bin/plugin.dart'),
|
| '');
|
| await driver.computeResult('package:pkg2/pk2.dart');
|
| + //
|
| + // Wait until the timer associated with the driver's FileSystemState is
|
| + // guaranteed to have expired and the list of changed files will have been
|
| + // delivered.
|
| + //
|
| + await new Future.delayed(new Duration(seconds: 1));
|
| expect(manager.addedContextRoots, hasLength(1));
|
| }
|
|
|
|
|