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

Unified Diff: test/cache/repair/reinstalls_hosted_packages_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 | « test/cache/repair/handles_failure_test.dart ('k') | test/descriptor.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cache/repair/reinstalls_hosted_packages_test.dart
diff --git a/test/cache/repair/reinstalls_hosted_packages_test.dart b/test/cache/repair/reinstalls_hosted_packages_test.dart
index 871c5df840d1f08a0d62df04f8c8df5ba1ce3b1e..07c866823a1548dd8400d14c8ee12abaa9352688 100644
--- a/test/cache/repair/reinstalls_hosted_packages_test.dart
+++ b/test/cache/repair/reinstalls_hosted_packages_test.dart
@@ -18,7 +18,7 @@ main() {
// Set up a cache with some broken 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 | « test/cache/repair/handles_failure_test.dart ('k') | test/descriptor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698