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

Unified Diff: test/serve/utils.dart

Issue 1215833002: Use the new test runner. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 5 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
Index: test/serve/utils.dart
diff --git a/test/serve/utils.dart b/test/serve/utils.dart
index c153f23ddc12e6b9d2f169764446c50ab118e82c..83b691c1b0e513bb1ff618432225d6a0425ebdfa 100644
--- a/test/serve/utils.dart
+++ b/test/serve/utils.dart
@@ -161,10 +161,6 @@ ScheduledProcess startPubServe({Iterable<String> args,
if (args != null) pubArgs.addAll(args);
- // Dart2js can take a long time to compile dart code, so we increase the
- // timeout to cope with that.
- currentSchedule.timeout *= 1.5;
-
if (createWebDir) d.dir(appPath, [d.dir("web")]).create();
return startPub(args: pubArgs);
}
@@ -371,7 +367,7 @@ Future<Map> webSocketRequest(String method, [Map params]) {
]).then((results) {
var resolvedParams = results[1];
chainToCompleter(
- currentSchedule.wrapFuture(_jsonRpcRequest(method, resolvedParams)),
+ _jsonRpcRequest(method, resolvedParams),
completer);
});
}, "send $method with $params to web socket");

Powered by Google App Engine
This is Rietveld 408576698