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

Unified Diff: test/runner/browser/chrome_test.dart

Issue 1017323004: Autoselect a port rather than always using 8080 for chrome_test. (Closed) Base URL: git@github.com:dart-lang/unittest@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/runner/browser/chrome_test.dart
diff --git a/test/runner/browser/chrome_test.dart b/test/runner/browser/chrome_test.dart
index 252211e4de53251b2ea83d7a7ba9df46afe43f71..3d4fd7ceb0663698626eeb5e068609695f99a719 100644
--- a/test/runner/browser/chrome_test.dart
+++ b/test/runner/browser/chrome_test.dart
@@ -117,7 +117,7 @@ webSocket.addEventListener("open", function() {
});
test("a process can be killed synchronously after it's started", () {
- return shelf_io.serve(expectAsync((_) {}, count: 0), 'localhost', 8080)
+ return shelf_io.serve(expectAsync((_) {}, count: 0), 'localhost', 0)
.then((server) {
var chrome = new Chrome(baseUrlForAddress(server.address, server.port));
return chrome.close().whenComplete(server.close);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698