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

Unified Diff: test/cache/repair/handles_failure_test.dart

Issue 1664563002: Refactor test servers to make them less global. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Code review changes Created 4 years, 11 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 | test/cache/repair/reinstalls_hosted_packages_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cache/repair/handles_failure_test.dart
diff --git a/test/cache/repair/handles_failure_test.dart b/test/cache/repair/handles_failure_test.dart
index 0b556394cf7b4d0846445dd3d29161439c4dd2b3..fc412ae73190533e6e5d4c9e17eb3744daa67013 100644
--- a/test/cache/repair/handles_failure_test.dart
+++ b/test/cache/repair/handles_failure_test.dart
@@ -19,7 +19,7 @@ main() {
// Set up a cache with some packages.
d.dir(cachePath, [
d.dir('hosted', [
- d.async(port.then((p) => d.dir('localhost%58$p', [
+ d.async(globalServer.port.then((p) => d.dir('localhost%58$p', [
d.dir("foo-1.2.3", [
d.libPubspec("foo", "1.2.3"),
d.file("broken.txt")
« no previous file with comments | « no previous file | test/cache/repair/reinstalls_hosted_packages_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698