| commit | 0d187ee47ffaafaaf452b5cf2968b2442d136223 | [log] [tgz] |
|---|---|---|
| author | William Hesse <whesse@google.com> | Thu Jun 04 15:04:27 2020 +0000 |
| committer | commit-bot@chromium.org <commit-bot@chromium.org> | Thu Jun 04 15:04:27 2020 +0000 |
| tree | 59039e0542065546f5615544479a5d07350fac0c | |
| parent | cbbbc09b3e13f7b7417e5dad3bb516ebfefa46b5 [diff] |
[infra] Fix test runner error when force closing subprocess stdio The code tried to create the command output object twice in this case. Change-Id: Icfb413ba329738cb732330d22885f62ccb7a99e2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/150102 Reviewed-by: Alexander Thomas <athom@google.com> Commit-Queue: William Hesse <whesse@google.com>
diff --git a/pkg/test_runner/lib/src/test_case.dart b/pkg/test_runner/lib/src/test_case.dart index 264d73d..fb4a908 100644 --- a/pkg/test_runner/lib/src/test_case.dart +++ b/pkg/test_runner/lib/src/test_case.dart
@@ -331,7 +331,6 @@ "$maxStdioDelayPassedMessage (command: $command)"); await stdout.cancel(); await stderr.cancel(); - _commandComplete(exitCode); return null; }).then((_) { if (stdout is FileOutputLog) {