Index: tests/lib/async/slow_consumer2_test.dart |
diff --git a/tests/lib/async/slow_consumer2_test.dart b/tests/lib/async/slow_consumer2_test.dart |
index 2108870bfb7de7e5d00bb66ad8908cfbcbdc724e..373e18e47b4d2f69be6772110d20156c01e7c423 100644 |
--- a/tests/lib/async/slow_consumer2_test.dart |
+++ b/tests/lib/async/slow_consumer2_test.dart |
@@ -70,7 +70,7 @@ class DataProvider { |
StreamController controller; |
DataProvider(int this.bytesPerSecond, int this.targetCount, this.chunkSize) { |
- controller = new StreamController( |
+ controller = new StreamController(sync: true, |
onPause: onPauseStateChange, |
onResume: onPauseStateChange); |
Timer.run(send); |