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

Unified Diff: pkg/analysis_server/benchmark/perf/performance_tests.dart

Issue 2413573003: Replace expect() with outOfTestExpect() in Analysis Server performance benchmark. (Closed)
Patch Set: Created 4 years, 2 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
Index: pkg/analysis_server/benchmark/perf/performance_tests.dart
diff --git a/pkg/analysis_server/benchmark/perf/performance_tests.dart b/pkg/analysis_server/benchmark/perf/performance_tests.dart
index 20828c7cbecb42f910b037ab1d1a8d8b16bca2d8..742171e42e34c8941dfb4971c9282298fbf5d396 100644
--- a/pkg/analysis_server/benchmark/perf/performance_tests.dart
+++ b/pkg/analysis_server/benchmark/perf/performance_tests.dart
@@ -43,7 +43,7 @@ abstract class AbstractAnalysisServerPerformanceTest
});
Completer serverConnected = new Completer();
onServerConnected.listen((_) {
- expect(serverConnected.isCompleted, isFalse);
+ outOfTestExpect(serverConnected.isCompleted, isFalse);
serverConnected.complete();
});
return startServer(checked: false).then((_) {

Powered by Google App Engine
This is Rietveld 408576698