Index: sdk/lib/_internal/pub/test/serve/detects_a_transformer_cycle.dart |
diff --git a/sdk/lib/_internal/pub/test/serve/detects_a_transformer_cycle.dart b/sdk/lib/_internal/pub/test/serve/detects_a_transformer_cycle.dart |
index 1da308071637c3914901aebaf6785658effb2b56..192b348d5885deb40cb097f93f2233a45c44b803 100644 |
--- a/sdk/lib/_internal/pub/test/serve/detects_a_transformer_cycle.dart |
+++ b/sdk/lib/_internal/pub/test/serve/detects_a_transformer_cycle.dart |
@@ -39,7 +39,7 @@ main() { |
createLockFile('myapp', sandbox: ['foo'], pkg: ['barback']); |
// Use port 0 to get an ephemeral port. |
- var process = startPub(args: ["serve", "--port=0"]); |
+ var process = startPub(args: ["serve", "--port=0", "--hostname=127.0.0.1"]); |
process.shouldExit(1); |
expect(process.remainingStderr(), completion(equals( |
"Transformer cycle detected:\n" |