Index: pkg/analysis_server/test/analysis_abstract.dart |
diff --git a/pkg/analysis_server/test/analysis_abstract.dart b/pkg/analysis_server/test/analysis_abstract.dart |
index 3cf7602ea3050996712579d6ecb773a156dd990e..b167e77e06eeb1b2ef61f8bc141bfe063a12d77e 100644 |
--- a/pkg/analysis_server/test/analysis_abstract.dart |
+++ b/pkg/analysis_server/test/analysis_abstract.dart |
@@ -258,10 +258,9 @@ class AbstractAnalysisTest { |
} |
/** |
- * Returns a [Future] that completes when the [AnalysisServer] finishes |
- * all its scheduled tasks. |
+ * Returns a [Future] that completes when the server's analysis is complete. |
*/ |
Future waitForTasksFinished() { |
- return waitForServerOperationsPerformed(server); |
+ return server.onAnalysisComplete; |
} |
} |