commit | ef7c98d2a80f1c6d4f7af57c4e8279fa597c0873 | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch@google.com> | Fri Mar 22 18:00:37 2024 +0000 |
committer | Nate Bosch <nbosch@google.com> | Fri Mar 22 18:11:04 2024 +0000 |
tree | 13ccb9ee8772eedf5ea27b5af7e4a8b3b2a0697d | |
parent | 6a4e75a6283b1366ea21067f9ced0b6c87745d4a [diff] |
Try removing isolate.kill() Originally isolates were killed when the loader was closed as the runner is shutting down. There was no comment in the review about the specific reason for `isolate.kill()`. https://codereview.chromium.org//920703006 Later the kill was moved to when the test suite is done. There was no specific comment about the `isolate.kill()` changes. https://codereview.chromium.org//1206033004 No internal tests seem to be relying on this behavior, and nothing times out when it is removed. Check whether there are any tests on CI that validate this behavior.
Welcome! package:test is the standard testing library for Dart and Flutter. If you have questions about Dart testing, please see the docs for package:test. package:test_api
and package:test_core
are implementation details and generally not user-facing.
package:checks is a relatively new library for expressing test expectations. It's a more modern version of package:matcher
and features a literate API.
Package | Description | Version |
---|---|---|
checks | A framework for checking values against expectations and building custom expectations. | |
test | A full featured library for writing and running Dart tests across platforms. | |
test_api | ||
test_core |