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

Unified Diff: tests/lib/async/stream_periodic3_test.dart

Issue 1415413012: Fix flaky async test. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | tests/lib/lib.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/async/stream_periodic3_test.dart
diff --git a/tests/lib/async/stream_periodic3_test.dart b/tests/lib/async/stream_periodic3_test.dart
index 437a8a685fe95d20fd65664804aa4bbe6030f918..b25ae2739fa513e0cf592381d721d489544db2b1 100644
--- a/tests/lib/async/stream_periodic3_test.dart
+++ b/tests/lib/async/stream_periodic3_test.dart
@@ -21,7 +21,7 @@ main() {
(x) => x);
stream.take(10).listen((_) { }, onDone: expectAsync(() {
int millis = watch.elapsedMilliseconds + safetyMargin;
- expect(millis, greaterThan(10));
+ expect(millis, greaterThanOrEqualTo(10));
}));
});
}
« no previous file with comments | « no previous file | tests/lib/lib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698