-
Notifications
You must be signed in to change notification settings - Fork 86
Wait for any remaining output in e2e_test.dart #2663
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This is intended to fix the flakes appearing on the windows bot. I suspect the test runner is marking it as failing when output comes through on the stream after the test has exited.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any way we can validate this, you think? Windows flakes are always a bit complicated to reproduce. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems reasonable to me! Thanks Nick!
I did get the old windows laptop we have in the office up and running yesterday. I could reproduce the error on it and this appears to fix the issue for all the runs I tried. |
Revisions updated by `dart tools/rev_sdk_deps.dart`. dartdoc (https://github.com/dart-lang/dartdoc/compare/414953e..82b48b5): 82b48b53 2025-08-05 István Soós Update highlight.js download instructions and resources. (dart-lang/dartdoc#4081) ecosystem (https://github.com/dart-lang/ecosystem/compare/2fe3618..4543c38): 4543c38 2025-08-06 Devon Carew address a `Bad state: No element` element exception (dart-lang/ecosystem#321) e14472f 2025-08-06 Devon Carew add a roadmap to our various mono-repos (dart-lang/ecosystem#318) e83479a 2025-08-06 Moritz Fixes to health (dart-lang/ecosystem#363) 552f534 2025-08-06 Moritz Update API tool hash (dart-lang/ecosystem#362) i18n (https://github.com/dart-lang/i18n/compare/c45e050..25cdb1b): 25cdb1b4 2025-08-07 Moritz Reenable mac size checks (dart-lang/i18n#1001) shelf (https://github.com/dart-lang/shelf/compare/082d3ac..2a46b4f): 2a46b4f 2025-08-05 Kevin Moore Update dependencies across 3 packages (dart-lang/shelf#479) test (https://github.com/dart-lang/test/compare/5aef971..9354f23): 9354f239 2025-08-07 Liam Appelbe Add `--coverage-path` and `--branch-coverage` options (dart-lang/test#2517) tools (https://github.com/dart-lang/tools/compare/5e977d6..1b52e89): 1b52e89e 2025-08-06 Moritz Configure Gemini code review (dart-lang/tools#2141) web (https://github.com/dart-lang/web/compare/1d5771b..f3c960f): f3c960f 2025-08-06 Nikechukwu [web_generator] Add support for passing files as globs (dart-lang/web#427) f51cc85 2025-08-06 Nikechukwu [interop] Add Support for Namespaces (dart-lang/web#436) webdev (https://github.com/dart-lang/webdev/compare/7ff2d07..94c172c): 94c172cc 2025-08-05 Nicholas Shahan Wait for any remaining output in e2e_test.dart (dart-lang/webdev#2663) Change-Id: Ie18635903f7379bc27e7ae23b916e10e4bdcef94 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/444360 Auto-Submit: Devon Carew <devoncarew@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
… webdev" This reverts commit 00240e8. Reason for revert: failures on HHH Original change's description: > [deps] rev dartdoc, ecosystem, i18n, shelf, test, tools, web, webdev > > Revisions updated by `dart tools/rev_sdk_deps.dart`. > > dartdoc (https://github.com/dart-lang/dartdoc/compare/414953e..82b48b5): > 82b48b53 2025-08-05 István Soós Update highlight.js download instructions and resources. (dart-lang/dartdoc#4081) > > ecosystem (https://github.com/dart-lang/ecosystem/compare/2fe3618..4543c38): > 4543c38 2025-08-06 Devon Carew address a `Bad state: No element` element exception (dart-lang/ecosystem#321) > e14472f 2025-08-06 Devon Carew add a roadmap to our various mono-repos (dart-lang/ecosystem#318) > e83479a 2025-08-06 Moritz Fixes to health (dart-lang/ecosystem#363) > 552f534 2025-08-06 Moritz Update API tool hash (dart-lang/ecosystem#362) > > i18n (https://github.com/dart-lang/i18n/compare/c45e050..25cdb1b): > 25cdb1b4 2025-08-07 Moritz Reenable mac size checks (dart-lang/i18n#1001) > > shelf (https://github.com/dart-lang/shelf/compare/082d3ac..2a46b4f): > 2a46b4f 2025-08-05 Kevin Moore Update dependencies across 3 packages (dart-lang/shelf#479) > > test (https://github.com/dart-lang/test/compare/5aef971..9354f23): > 9354f239 2025-08-07 Liam Appelbe Add `--coverage-path` and `--branch-coverage` options (dart-lang/test#2517) > > tools (https://github.com/dart-lang/tools/compare/5e977d6..1b52e89): > 1b52e89e 2025-08-06 Moritz Configure Gemini code review (dart-lang/tools#2141) > > web (https://github.com/dart-lang/web/compare/1d5771b..f3c960f): > f3c960f 2025-08-06 Nikechukwu [web_generator] Add support for passing files as globs (dart-lang/web#427) > f51cc85 2025-08-06 Nikechukwu [interop] Add Support for Namespaces (dart-lang/web#436) > > webdev (https://github.com/dart-lang/webdev/compare/7ff2d07..94c172c): > 94c172cc 2025-08-05 Nicholas Shahan Wait for any remaining output in e2e_test.dart (dart-lang/webdev#2663) > > Change-Id: Ie18635903f7379bc27e7ae23b916e10e4bdcef94 > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/444360 > Auto-Submit: Devon Carew <devoncarew@google.com> > Commit-Queue: Konstantin Shcheglov <scheglov@google.com> > Reviewed-by: Konstantin Shcheglov <scheglov@google.com> No-Presubmit: true No-Tree-Checks: true No-Try: true Change-Id: I239eff7add9e5432c67b05c8f7731e1a79d4e4db Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/444387 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Auto-Submit: Devon Carew <devoncarew@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Alexander Aprelev <aam@google.com>
Revisions updated by `dart tools/rev_sdk_deps.dart`. dartdoc (https://github.com/dart-lang/dartdoc/compare/414953e..82b48b5): 82b48b53 2025-08-05 István Soós Update highlight.js download instructions and resources. (dart-lang/dartdoc#4081) ecosystem (https://github.com/dart-lang/ecosystem/compare/2fe3618..4543c38): 4543c38 2025-08-06 Devon Carew address a `Bad state: No element` element exception (dart-lang/ecosystem#321) e14472f 2025-08-06 Devon Carew add a roadmap to our various mono-repos (dart-lang/ecosystem#318) e83479a 2025-08-06 Moritz Fixes to health (dart-lang/ecosystem#363) 552f534 2025-08-06 Moritz Update API tool hash (dart-lang/ecosystem#362) i18n (https://github.com/dart-lang/i18n/compare/c45e050..25cdb1b): 25cdb1b4 2025-08-07 Moritz Reenable mac size checks (dart-lang/i18n#1001) shelf (https://github.com/dart-lang/shelf/compare/082d3ac..2a46b4f): 2a46b4f 2025-08-05 Kevin Moore Update dependencies across 3 packages (dart-lang/shelf#479) tools (https://github.com/dart-lang/tools/compare/5e977d6..1b52e89): 1b52e89e 2025-08-06 Moritz Configure Gemini code review (dart-lang/tools#2141) web (https://github.com/dart-lang/web/compare/1d5771b..f3c960f): f3c960f 2025-08-06 Nikechukwu [web_generator] Add support for passing files as globs (dart-lang/web#427) f51cc85 2025-08-06 Nikechukwu [interop] Add Support for Namespaces (dart-lang/web#436) webdev (https://github.com/dart-lang/webdev/compare/7ff2d07..94c172c): 94c172cc 2025-08-05 Nicholas Shahan Wait for any remaining output in e2e_test.dart (dart-lang/webdev#2663) Change-Id: Id553d989bdb5aea483e6ad7d955a965cfaa3cf16 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/444362 Auto-Submit: Devon Carew <devoncarew@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
This is intended to fix the flakes appearing on the windows bot. I suspect the test runner is marking it as failing when output comes through on the stream after the test has exited.