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

Unified Diff: tests/standalone/io/process_stdin_transform_unsubscribe_test.dart

Issue 2688243003: Add call to flush() to avoid flakiness (Closed)
Patch Set: Created 3 years, 10 months 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/process_stdin_transform_unsubscribe_test.dart
diff --git a/tests/standalone/io/process_stdin_transform_unsubscribe_test.dart b/tests/standalone/io/process_stdin_transform_unsubscribe_test.dart
index 8b10d734b99d73a796ec33878c5fed51831b3bd9..2730ae0eaa9e096f9298058b71c1c6b6fc1771e1 100644
--- a/tests/standalone/io/process_stdin_transform_unsubscribe_test.dart
+++ b/tests/standalone/io/process_stdin_transform_unsubscribe_test.dart
@@ -25,6 +25,9 @@ void test(Future<Process> future, int expectedExitCode) {
process.stdout.listen((_) {});
process.stderr.listen((_) {});
process.stdin.writeln("Line1");
+ process.stdin.flush().then((_) {
+ print("flush completed");
+ });
});
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698