Fix transformer e2e test
diff --git a/test/child_server_process.dart b/test/child_server_process.dart
index 8a6f85e..806f2c5 100644
--- a/test/child_server_process.dart
+++ b/test/child_server_process.dart
@@ -23,6 +23,7 @@
int maxPort: 65535,
String host: '0.0.0.0'}) async {
var port = await _findUnusedPort(defaultPort, maxPort);
+ stderr.writeln("Found unused port $port");
var p = (await builder(host, port))
..stdout.pipe(_consoleOut)
..stderr.pipe(_consoleOut);
@@ -36,7 +37,9 @@
var lastError;
for (int i = 0; i < attempts; i++) {
try {
+ stderr.writeln("Awaiting $host:$port (${i + 1} / $attempts)");
await (await Socket.connect(host, port)).close();
+ stderr.writeln("Successfully connected to $host:$port after ${i + 1} attempts");
return;
} catch (e) {
lastError = e;
diff --git a/tool/transformer_test.sh b/tool/transformer_test.sh
index ff313d3..b25c6ca 100755
--- a/tool/transformer_test.sh
+++ b/tool/transformer_test.sh
@@ -5,8 +5,7 @@
export CHROME_CANARY_BIN=`./tool/get_chrome_canary.sh`
echo "*** Testing pub serve + DDC transformer"
-# TODO(ochafik,vsm): This is breaking on travis.
-# pub run test --timeout 120s test/transformer_e2e_test.dart
+pub run test --timeout 120s test/transformer_e2e_test.dart
echo "*** Testing pub build + DDC transformer"
cd test/transformer/hello_app