diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ecfd4451..506dbf28d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.12.32+2 + +* Work around an SDK bug that caused timeouts in asynchronous code. + ## 0.12.32+1 * Fix a bug that broke content shell on Dart 1.24. diff --git a/lib/src/runner/remote_listener.dart b/lib/src/runner/remote_listener.dart index 67b4d123a..db1ff215b 100644 --- a/lib/src/runner/remote_listener.dart +++ b/lib/src/runner/remote_listener.dart @@ -61,6 +61,10 @@ class RemoteListener { channel.sink.add({"type": "print", "line": line}); }); + // Work-around for https://github.com/dart-lang/sdk/issues/32556. Remove + // once fixed. + new Stream.fromIterable([]).listen((_) {}).cancel(); + new SuiteChannelManager().asCurrent(() { new StackTraceFormatter().asCurrent(() { runZoned(() async { diff --git a/pubspec.yaml b/pubspec.yaml index ad2618794..474c5e7a5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: test -version: 0.12.32+1 +version: 0.12.32+2 author: Dart Team description: A library for writing dart unit tests. homepage: https://github.com/dart-lang/test